public class FieldExtDef extends FieldVisitor
api, fv
Constructor and Description |
---|
FieldExtDef(FieldExtCallback call) |
Modifier and Type | Method and Description |
---|---|
void |
accept(FieldVisitor to) |
AnnotationDef |
getAnnotation(Class<?> class1) |
AnnotationDef |
getAnnotation(String desc) |
Attribute |
getAttribute(String type) |
boolean |
isEnd() |
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.
|
visitTypeAnnotation
public FieldExtDef(FieldExtCallback call)
public AnnotationVisitor visitAnnotation(String desc, boolean visible)
FieldVisitor
visitAnnotation
in class FieldVisitor
desc
- the class descriptor of the annotation class.visible
- true if the annotation is visible at runtime.public void visitAttribute(Attribute attr)
FieldVisitor
visitAttribute
in class FieldVisitor
attr
- an attribute.public void visitEnd()
FieldVisitor
visitEnd
in class FieldVisitor
public boolean isEnd()
public void accept(FieldVisitor to)
public AnnotationDef getAnnotation(String desc)
public AnnotationDef getAnnotation(Class<?> class1)
Copyright © 2020. All rights reserved.