org.apache.felix.ipojo.manipulation.annotations
Class FieldCollector

java.lang.Object
  extended by org.objectweb.asm.commons.EmptyVisitor
      extended by org.apache.felix.ipojo.manipulation.annotations.FieldCollector
All Implemented Interfaces:
org.objectweb.asm.AnnotationVisitor, org.objectweb.asm.ClassVisitor, org.objectweb.asm.FieldVisitor, org.objectweb.asm.MethodVisitor

public class FieldCollector
extends org.objectweb.asm.commons.EmptyVisitor
implements org.objectweb.asm.FieldVisitor

Collect field annotations.

Author:
Felix Project Team

Constructor Summary
FieldCollector(String fieldName, MetadataCollector collector)
          Constructor.
 
Method Summary
 org.objectweb.asm.AnnotationVisitor visitAnnotation(String arg0, boolean arg1)
          Visit annotations on the current field.
 
Methods inherited from class org.objectweb.asm.commons.EmptyVisitor
visit, visit, visitAnnotation, visitAnnotationDefault, visitArray, visitAttribute, visitCode, visitEnd, visitEnum, visitField, visitFieldInsn, visitFrame, 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
 
Methods inherited from interface org.objectweb.asm.FieldVisitor
visitAttribute, visitEnd
 

Constructor Detail

FieldCollector

public FieldCollector(String fieldName,
                      MetadataCollector collector)
Constructor.

Parameters:
fieldName - : field name
collector - : metadata collector.
Method Detail

visitAnnotation

public org.objectweb.asm.AnnotationVisitor visitAnnotation(String arg0,
                                                           boolean arg1)
Visit annotations on the current field.

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:
arg0 - : annotation name
arg1 - : is the annotation a runtime annotation.
Returns:
the annotation visitor visiting the annotation
See Also:
FieldVisitor.visitAnnotation(java.lang.String, boolean)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.