Package edu.umd.cs.findbugs.jaif
Interface JAIFEvents
public interface JAIFEvents
Callbacks for parsing an extenal annotation file.
- Author:
- David Hovemeyer
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidannotationField(String fieldName, Object constant) Called to visit an annotation field.voidannotationFieldDefinition(String type, String fieldName) Called to visit an annotation field definition.voidendAnnotation(String annotationName) Called to indicate the end of an annotation.voidendAnnotationDefinition(String annotationName) Called to indicate the end of an annotation definition.voidendPackageDefinition(String pkgName) Called to indicate the end of a package definition.voidstartAnnotation(String annotationName) Called to indicate the start of an annotation.voidstartAnnotationDefinition(String annotationName, String retention) Called to indicate the start of an annotation definition.voidstartPackageDefinition(String pkgName) Called to indicate the start of a package definition.
-
Method Details
-
startPackageDefinition
Called to indicate the start of a package definition.- Parameters:
pkgName- package name
-
endPackageDefinition
Called to indicate the end of a package definition.- Parameters:
pkgName-
-
startAnnotation
Called to indicate the start of an annotation.- Parameters:
annotationName- annotation name
-
endAnnotation
Called to indicate the end of an annotation.- Parameters:
annotationName- annotation name
-
annotationField
Called to visit an annotation field.- Parameters:
fieldName- annotation field nameconstant- constant value of the annotation field (one of the java.lang wrapper types, or a String, or ???)
-
startAnnotationDefinition
Called to indicate the start of an annotation definition.- Parameters:
annotationName- name of the annotationretention- retention: one of "visible", "invisible", or "source"
-
endAnnotationDefinition
Called to indicate the end of an annotation definition.- Parameters:
annotationName- name of the annotation
-
annotationFieldDefinition
Called to visit an annotation field definition.- Parameters:
type- type of the annotation field (in JVM signature format)fieldName- name of the annotation field
-