org.apache.felix.ipojo.manipulator.metadata.annotation.visitor
Class ComponentVisitor

java.lang.Object
  extended by org.objectweb.asm.commons.EmptyVisitor
      extended by org.apache.felix.ipojo.manipulator.metadata.annotation.visitor.ComponentVisitor
All Implemented Interfaces:
org.objectweb.asm.AnnotationVisitor, org.objectweb.asm.ClassVisitor, org.objectweb.asm.FieldVisitor, org.objectweb.asm.MethodVisitor

public class ComponentVisitor
extends org.objectweb.asm.commons.EmptyVisitor
implements org.objectweb.asm.AnnotationVisitor

Parse the @Component annotation.

Author:
Felix Project Team
See Also:
Component

Constructor Summary
ComponentVisitor(ComponentWorkbench workbench, Reporter reporter)
           
 
Method Summary
 void visit(java.lang.String name, java.lang.Object value)
          Visit @Component annotation attribute.
 void visitEnd()
          End of the visit.
 
Methods inherited from class org.objectweb.asm.commons.EmptyVisitor
visit, visitAnnotation, visitAnnotation, visitAnnotationDefault, visitArray, visitAttribute, visitCode, 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.AnnotationVisitor
visitAnnotation, visitArray, visitEnum
 

Constructor Detail

ComponentVisitor

public ComponentVisitor(ComponentWorkbench workbench,
                        Reporter reporter)
Method Detail

visit

public void visit(java.lang.String name,
                  java.lang.Object value)
Visit @Component annotation attribute.

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

visitEnd

public void visitEnd()
End of the visit. Append to the "component" element computed attribute.

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.