org.apache.felix.ipojo.manipulator.metadata.annotation
Class MethodMetadataCollector

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

public class MethodMetadataCollector
extends org.objectweb.asm.commons.EmptyVisitor
implements org.objectweb.asm.MethodVisitor

Author:
Felix Project Team

Constructor Summary
MethodMetadataCollector(ComponentWorkbench workbench, org.objectweb.asm.tree.MethodNode node, Reporter reporter)
           
 
Method Summary
 org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String desc, boolean visible)
          Visit method annotations.
 org.objectweb.asm.AnnotationVisitor visitParameterAnnotation(int index, java.lang.String desc, boolean visible)
          Visit a parameter annotation.
 
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, 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.MethodVisitor
visitAnnotationDefault, visitAttribute, visitCode, visitEnd, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitIntInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMultiANewArrayInsn, visitTableSwitchInsn, visitTryCatchBlock, visitTypeInsn, visitVarInsn
 

Constructor Detail

MethodMetadataCollector

public MethodMetadataCollector(ComponentWorkbench workbench,
                               org.objectweb.asm.tree.MethodNode node,
                               Reporter reporter)
Method Detail

visitAnnotation

public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String desc,
                                                           boolean visible)
Visit method annotations.

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 - : annotation name.
visible - : is the annotation visible at runtime.
Returns:
the visitor paring the visited annotation.
See Also:
EmptyVisitor.visitAnnotation(java.lang.String, boolean)

visitParameterAnnotation

public org.objectweb.asm.AnnotationVisitor visitParameterAnnotation(int index,
                                                                    java.lang.String desc,
                                                                    boolean visible)
Visit a parameter annotation.

Specified by:
visitParameterAnnotation in interface org.objectweb.asm.MethodVisitor
Overrides:
visitParameterAnnotation in class org.objectweb.asm.commons.EmptyVisitor
See Also:
EmptyVisitor.visitParameterAnnotation(int, java.lang.String, boolean)


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