@NotStorableClass public class FieldGenerator extends Object implements FieldVisitor
| Constructor and Description |
|---|
FieldGenerator(FieldVisitor fieldVisitor) |
| 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 FieldGenerator(FieldVisitor fieldVisitor)
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 © 2007-2012 Luc Peuvrier. All Rights Reserved.