Package edu.umd.cs.findbugs.ba
Class JCIPAnnotationDatabase
java.lang.Object
edu.umd.cs.findbugs.ba.JCIPAnnotationDatabase
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntryForClass
(String dottedClassName, String annotationClass, org.apache.bcel.classfile.ElementValue value) void
addEntryForClassMember
(ClassMember member, String annotationClass, org.apache.bcel.classfile.ElementValue value) org.apache.bcel.classfile.ElementValue
getClassAnnotation
(String dottedClassName, String annotationClass) org.apache.bcel.classfile.ElementValue
getFieldAnnotation
(XField field, String annotationClass) org.apache.bcel.classfile.ElementValue
getMethodAnnotation
(XMethod method, String annotationClass) boolean
hasClassAnnotation
(String dottedClassName, String annotationClass) boolean
hasFieldAnnotation
(XField field, String annotationClass) boolean
hasMethodAnnotation
(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
-
hasFieldAnnotation
-
getMethodAnnotation
-
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)
-