it.imolinfo.jbi4corba.webservice.generator.bcm
Class AnnotationCollectorFieldVisitor

java.lang.Object
  extended by org.objectweb.asm.commons.EmptyVisitor
      extended by it.imolinfo.jbi4corba.webservice.generator.bcm.AnnotationCollectorFieldVisitor
All Implemented Interfaces:
org.objectweb.asm.AnnotationVisitor, org.objectweb.asm.ClassVisitor, org.objectweb.asm.FieldVisitor, org.objectweb.asm.MethodVisitor

public class AnnotationCollectorFieldVisitor
extends org.objectweb.asm.commons.EmptyVisitor

This class is used to collect the annotations on a field.


Field Summary
protected  String fieldName
          The field name.
protected  AnnotationsMaps tracer
          Where the annotations are stored.
 
Constructor Summary
AnnotationCollectorFieldVisitor(AnnotationsMaps tracer, String fieldName)
          Constructor.
 
Method Summary
 org.objectweb.asm.AnnotationVisitor visitAnnotation(String desc, boolean visible)
           
 
Methods inherited from class org.objectweb.asm.commons.EmptyVisitor
visit, visit, visitAnnotation, visitAnnotationDefault, visitArray, visitAttribute, visitCode, visitEnd, visitEnum, visitField, visitFieldInsn, visitIincInsn, visitInnerClass, visitInsn, visitIntInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLookupSwitchInsn, visitMaxs, visitMethod, visitMethodInsn, visitMultiANewArrayInsn, visitOuterClass, visitParameterAnnotation, visitSource, visitTableSwitchInsn, visitTryCatchBlock, visitTypeInsn, visitVarInsn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldName

protected String fieldName
The field name.


tracer

protected AnnotationsMaps tracer
Where the annotations are stored.

Constructor Detail

AnnotationCollectorFieldVisitor

public AnnotationCollectorFieldVisitor(AnnotationsMaps tracer,
                                       String fieldName)
Constructor.

Parameters:
tracer - The annotations maps
fieldName - The field name
Method Detail

visitAnnotation

public org.objectweb.asm.AnnotationVisitor visitAnnotation(String desc,
                                                           boolean visible)
Specified by:
visitAnnotation in interface org.objectweb.asm.ClassVisitor
Specified by:
visitAnnotation in interface org.objectweb.asm.FieldVisitor
Specified by:
visitAnnotation in interface org.objectweb.asm.MethodVisitor
Overrides:
visitAnnotation in class org.objectweb.asm.commons.EmptyVisitor
Parameters:
desc - The description
visible - The visibol
Returns:
The return


Copyright © 2005-2010 Imola Informatica. All Rights Reserved.