1 package spoon.reflect.reference; 2 3 import java.lang.annotation.Annotation ; 4 5 import spoon.processing.FactoryAccessor; 6 import spoon.reflect.declaration.CtElement; 7 import spoon.reflect.visitor.CtVisitor; 8 import spoon.reflect.visitor.Root; 9 10 18 @Root 19 public interface CtReference extends FactoryAccessor, Comparable <CtReference> { 20 21 28 <A extends Annotation > A getAnnotation(Class <A> annotationType); 29 30 35 Annotation [] getAnnotations(); 36 37 40 String getSimpleName(); 41 42 45 void setSimpleName(String simpleName); 46 47 52 CtElement getDeclaration(); 53 54 57 void accept(CtVisitor visitor); 58 59 } 60 | Popular Tags |