Example usage for org.aspectj.asm IProgramElement getAnnotationType

List of usage examples for org.aspectj.asm IProgramElement getAnnotationType

Introduction

In this page you can find the example usage for org.aspectj.asm IProgramElement getAnnotationType.

Prototype

public String getAnnotationType();

Source Link

Usage

From source file:org.eclipse.ajdt.internal.ui.refactoring.PushInRefactoring.java

License:Open Source License

private String getQualifiedTypeForDeclareAnnotation(DeclareElement itd) {
    IProgramElement ipe = getModel(itd).javaElementToProgramElement(itd);
    if (ipe != null) {
        return ipe.getAnnotationType();
    }//  w w  w  .  j a  va 2  s  . co  m
    return null;
}