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

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

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

Author:
Felix Project Team

Constructor Summary
SubArrayVisitor(org.apache.felix.ipojo.metadata.Element elem, java.lang.String name)
          Constructor.
 
Method Summary
 void visit(java.lang.String name, java.lang.Object value)
          Visit a 'simple' element of the visited array.
 org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String name, java.lang.String desc)
          Visit an annotation element of the visited array.
 void visitEnd()
          End of the visit.
 void visitEnum(java.lang.String name, java.lang.String desc, java.lang.String value)
          Visits an enumeration attribute.
 
Methods inherited from class org.objectweb.asm.commons.EmptyVisitor
visit, visitAnnotation, visitAnnotationDefault, visitArray, 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
 
Methods inherited from interface org.objectweb.asm.AnnotationVisitor
visitArray
 

Constructor Detail

SubArrayVisitor

public SubArrayVisitor(org.apache.felix.ipojo.metadata.Element elem,
                       java.lang.String name)
Constructor.

Parameters:
elem - : element element.
name - : attribute name.
Method Detail

visit

public void visit(java.lang.String name,
                  java.lang.Object value)
Visit a 'simple' element of the visited array.

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

visitEnum

public void visitEnum(java.lang.String name,
                      java.lang.String desc,
                      java.lang.String value)
Visits an enumeration attribute.

Specified by:
visitEnum in interface org.objectweb.asm.AnnotationVisitor
Overrides:
visitEnum in class org.objectweb.asm.commons.EmptyVisitor
Parameters:
name - the attribute name
desc - the enumeration descriptor
value - the attribute value

visitAnnotation

public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String name,
                                                           java.lang.String desc)
Visit an annotation element of the visited array.

Specified by:
visitAnnotation in interface org.objectweb.asm.AnnotationVisitor
Overrides:
visitAnnotation in class org.objectweb.asm.commons.EmptyVisitor
Parameters:
name - : null
desc - : annotation to visit
Returns:
the visitor which will visit the annotation
See Also:
EmptyVisitor.visitAnnotation(String, String)

visitEnd

public void visitEnd()
End of the visit.

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.