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 TypeMethodDescriptionvoid
annotationField
(String fieldName, Object constant) Called to visit an annotation field.void
annotationFieldDefinition
(String type, String fieldName) Called to visit an annotation field definition.void
endAnnotation
(String annotationName) Called to indicate the end of an annotation.void
endAnnotationDefinition
(String annotationName) Called to indicate the end of an annotation definition.void
endPackageDefinition
(String pkgName) Called to indicate the end of a package definition.void
startAnnotation
(String annotationName) Called to indicate the start of an annotation.void
startAnnotationDefinition
(String annotationName, String retention) Called to indicate the start of an annotation definition.void
startPackageDefinition
(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
-