Package edu.umd.cs.findbugs.ba
Class JCIPAnnotationDatabase
java.lang.Object
edu.umd.cs.findbugs.ba.JCIPAnnotationDatabase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntryForClass(String dottedClassName, String annotationClass, org.apache.bcel.classfile.ElementValue value) voidaddEntryForClassMember(ClassMember member, String annotationClass, org.apache.bcel.classfile.ElementValue value) org.apache.bcel.classfile.ElementValuegetClassAnnotation(String dottedClassName, String annotationClass) org.apache.bcel.classfile.ElementValuegetFieldAnnotation(XField field, String annotationClass) org.apache.bcel.classfile.ElementValuegetMethodAnnotation(XMethod method, String annotationClass) booleanhasClassAnnotation(String dottedClassName, String annotationClass) booleanhasFieldAnnotation(XField field, String annotationClass) booleanhasMethodAnnotation(XMethod method, String annotationClass)
-
Constructor Details
-
JCIPAnnotationDatabase
public JCIPAnnotationDatabase()
-
-
Method Details
-
getClassAnnotation
@CheckForNull public org.apache.bcel.classfile.ElementValue getClassAnnotation(@DottedClassName String dottedClassName, String annotationClass) -
hasClassAnnotation
-
getFieldAnnotation
@CheckForNull public org.apache.bcel.classfile.ElementValue getFieldAnnotation(XField field, String annotationClass) -
hasFieldAnnotation
-
getMethodAnnotation
@CheckForNull public org.apache.bcel.classfile.ElementValue getMethodAnnotation(XMethod method, String annotationClass) -
hasMethodAnnotation
-
addEntryForClassMember
public void addEntryForClassMember(ClassMember member, String annotationClass, org.apache.bcel.classfile.ElementValue value) -
addEntryForClass
public void addEntryForClass(@DottedClassName String dottedClassName, String annotationClass, org.apache.bcel.classfile.ElementValue value)
-