public class CheckFieldAdapter extends Object implements FieldVisitor
FieldVisitor that checks that its methods are properly used.| Constructor and Description |
|---|
CheckFieldAdapter(FieldVisitor fv) |
| Modifier and Type | Method and Description |
|---|---|
AnnotationVisitor |
visitAnnotation(String desc,
boolean visible)
Visits an annotation of the field.
|
void |
visitAttribute(Attribute attr)
Visits a non standard attribute of the field.
|
void |
visitEnd()
Visits the end of the field.
|
public CheckFieldAdapter(FieldVisitor fv)
public AnnotationVisitor visitAnnotation(String desc, boolean visible)
FieldVisitorvisitAnnotation in interface FieldVisitordesc - the class descriptor of the annotation class.visible - true if the annotation is visible at runtime.public void visitAttribute(Attribute attr)
FieldVisitorvisitAttribute in interface FieldVisitorattr - an attribute.public void visitEnd()
FieldVisitorvisitEnd in interface FieldVisitorCopyright © 2018. All rights reserved.