org.apache.felix.ipojo.manipulator.metadata.annotation.visitor.generic
Class RootGenericVisitor

java.lang.Object
  extended by org.objectweb.asm.commons.EmptyVisitor
      extended by org.apache.felix.ipojo.manipulator.metadata.annotation.visitor.generic.GenericVisitor
          extended by org.apache.felix.ipojo.manipulator.metadata.annotation.visitor.generic.RootGenericVisitor
All Implemented Interfaces:
org.objectweb.asm.AnnotationVisitor, org.objectweb.asm.ClassVisitor, org.objectweb.asm.FieldVisitor, org.objectweb.asm.MethodVisitor
Direct Known Subclasses:
FieldGenericVisitor, MethodGenericVisitor, ParameterGenericVisitor, TypeGenericVisitor

public class RootGenericVisitor
extends GenericVisitor

Author:
Felix Project Team

Field Summary
 
Fields inherited from class org.apache.felix.ipojo.manipulator.metadata.annotation.visitor.generic.GenericVisitor
element
 
Constructor Summary
RootGenericVisitor(ComponentWorkbench workbench, org.apache.felix.ipojo.metadata.Element element, java.lang.annotation.ElementType type)
           
 
Method Summary
 void visit(java.lang.String name, java.lang.Object value)
          Visit a 'simple' annotation attribute.
 void visitEnd()
          End of the visit.
 
Methods inherited from class org.apache.felix.ipojo.manipulator.metadata.annotation.visitor.generic.GenericVisitor
visitAnnotation, visitArray, visitEnum
 
Methods inherited from class org.objectweb.asm.commons.EmptyVisitor
visit, visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, 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
 

Constructor Detail

RootGenericVisitor

public RootGenericVisitor(ComponentWorkbench workbench,
                          org.apache.felix.ipojo.metadata.Element element,
                          java.lang.annotation.ElementType type)
Method Detail

visit

public void visit(java.lang.String name,
                  java.lang.Object value)
Visit a 'simple' annotation attribute. This method is used for primitive arrays too.

Specified by:
visit in interface org.objectweb.asm.AnnotationVisitor
Overrides:
visit in class GenericVisitor
Parameters:
name - : attribute name
value - : attribute value
See Also:
EmptyVisitor.visit(String, Object)

visitEnd

public void visitEnd()
End of the visit. All attribute were visited, we can update collectors data.

Specified by:
visitEnd in interface org.objectweb.asm.AnnotationVisitor
Specified by:
visitEnd in interface org.objectweb.asm.ClassVisitor
Specified by:
visitEnd in interface org.objectweb.asm.FieldVisitor
Specified by:
visitEnd in interface org.objectweb.asm.MethodVisitor
Overrides:
visitEnd in class org.objectweb.asm.commons.EmptyVisitor
See Also:
EmptyVisitor.visitEnd()


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