@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)
FieldVisitor
visitAnnotation
in interface 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 interface FieldVisitor
attr
- an attribute.public void visitEnd()
FieldVisitor
visitEnd
in interface FieldVisitor
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.