edu.umd.cs.findbugs.classfile.analysis
Interface AnnotatedObject
- All Known Subinterfaces:
- XClass, XField, XMethod
- All Known Implementing Classes:
- AbstractField, AbstractMethod, ClassInfo, FieldInfo, MethodInfo, UnresolvedXField
public interface AnnotatedObject
- Author:
- pwilliam
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()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.