Interface AnnotatedObject
-
- All Known Implementing Classes:
AbstractField,AbstractMethod,ClassInfo,FieldInfo,MethodInfo,UnresolvedXField
public interface AnnotatedObject- Author:
- pwilliam
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnnotationValuegetAnnotation(ClassDescriptor desc)java.util.Collection<ClassDescriptor>getAnnotationDescriptors()java.util.Collection<AnnotationValue>getAnnotations()ClassDescriptorgetClassDescriptor()return the ClassDescriptor for the class associated with this objectAnnotatedObjectgetContainingScope()java.lang.annotation.ElementTypegetElementType()booleanisSynthetic()
-
-
-
Method Detail
-
getAnnotationDescriptors
java.util.Collection<ClassDescriptor> getAnnotationDescriptors()
-
getClassDescriptor
ClassDescriptor getClassDescriptor()
return the ClassDescriptor for the class associated with this object
-
getAnnotation
@Nullable AnnotationValue getAnnotation(ClassDescriptor desc)
-
getAnnotations
java.util.Collection<AnnotationValue> getAnnotations()
-
getElementType
java.lang.annotation.ElementType getElementType()
-
getContainingScope
@CheckForNull AnnotatedObject getContainingScope()
-
isSynthetic
boolean isSynthetic()
-
-