wheel.enhance
Class WheelFieldVisitor

java.lang.Object
  extended by wheel.enhance.WheelFieldVisitor
All Implemented Interfaces:
wheel.asm.FieldVisitor

public class WheelFieldVisitor
extends java.lang.Object
implements wheel.asm.FieldVisitor


Constructor Summary
WheelFieldVisitor(wheel.asm.FieldVisitor fieldVisitor, java.util.List<WheelAnnotatedField> wheelAnnotatedFields, int access, java.lang.String name, java.lang.String desc, java.lang.String signature)
           
 
Method Summary
 WheelAnnotationVisitor getPersistAnnotationVisitor()
           
 wheel.asm.AnnotationVisitor visitAnnotation(java.lang.String name, boolean visible)
          Visits an annotation of the field.
 void visitAttribute(wheel.asm.Attribute attribute)
          Visits a non standard attribute of the field.
 void visitEnd()
          Visits the end of the field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WheelFieldVisitor

public WheelFieldVisitor(wheel.asm.FieldVisitor fieldVisitor,
                         java.util.List<WheelAnnotatedField> wheelAnnotatedFields,
                         int access,
                         java.lang.String name,
                         java.lang.String desc,
                         java.lang.String signature)
Method Detail

visitAnnotation

public wheel.asm.AnnotationVisitor visitAnnotation(java.lang.String name,
                                                   boolean visible)
Description copied from interface: wheel.asm.FieldVisitor
Visits an annotation of the field.

Specified by:
visitAnnotation in interface wheel.asm.FieldVisitor
Parameters:
name - 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.

visitAttribute

public void visitAttribute(wheel.asm.Attribute attribute)
Description copied from interface: wheel.asm.FieldVisitor
Visits a non standard attribute of the field.

Specified by:
visitAttribute in interface wheel.asm.FieldVisitor
Parameters:
attribute - an attribute.

visitEnd

public void visitEnd()
Description copied from interface: wheel.asm.FieldVisitor
Visits 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:
visitEnd in interface wheel.asm.FieldVisitor

getPersistAnnotationVisitor

public WheelAnnotationVisitor getPersistAnnotationVisitor()


Copyright © 2007-2008. All Rights Reserved.