1 package spoon.reflect.declaration; 2 3 import java.lang.annotation.Annotation ; 4 import java.util.Map ; 5 6 import spoon.reflect.reference.CtTypeReference; 7 8 13 public interface CtAnnotation<A extends Annotation > extends CtElement { 14 15 18 A getActualAnnotation(); 19 20 25 CtTypeReference<A> getAnnotationType(); 26 27 33 Object getElementValue(String key); 34 35 43 Map <String , Object > getElementValues(); 44 45 50 void setAnnotationType(CtTypeReference<? extends Annotation > type); 51 52 57 void setElementValues(Map <String , Object > values); 58 59 } 60 | Popular Tags |