Class SAXFieldAdapter
java.lang.Object
org.objectweb.asm.xml.SAXAdapter
org.objectweb.asm.xml.SAXFieldAdapter
- All Implemented Interfaces:
FieldVisitor
SAXFieldAdapter
- Author:
- Eugene Kuleshov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvisitAnnotation(String desc, boolean visible) Visits an annotation of the field.voidvisitEnd()Visits the end of the field.Methods inherited from class SAXAdapter
addDocumentEnd, addDocumentStart, addElement, addEnd, addStart, getContentHandler, visitAttributeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FieldVisitor
visitAttribute
-
Constructor Details
-
SAXFieldAdapter
-
-
Method Details
-
visitAnnotation
Description copied from interface:FieldVisitorVisits an annotation of the field.- Specified by:
visitAnnotationin interfaceFieldVisitor- Parameters:
desc- the class descriptor of the annotation class.visible- true if the annotation is visible at runtime.- Returns:
- a visitor to visit the annotation values, or null if this visitor is not interested in visiting this annotation.
-
visitEnd
public void visitEnd()Description copied from interface:FieldVisitorVisits the end of the field. This method, which is the last one to be called, is used to inform the visitor that all the annotations and attributes of the field have been visited.- Specified by:
visitEndin interfaceFieldVisitor
-