|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.manipulation.ClassChecker.ArrayAttribute
public class ClassChecker.ArrayAttribute
Describes an array attribute. This class is able to visit an annotation array attribute, and to recreate this array on another annotation.
Constructor Summary | |
---|---|
ClassChecker.ArrayAttribute(String name)
Creates an array attribute. |
Method Summary | |
---|---|
void |
visit(org.objectweb.asm.AnnotationVisitor av)
Recreates the visited array attribute. |
void |
visit(String arg0,
Object arg1)
Visits the content of the array. |
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(String arg0,
String arg1)
Visits the content of the array. |
org.objectweb.asm.AnnotationVisitor |
visitArray(String arg0)
Visits the content of the array. |
void |
visitEnd()
End of the array attribute visit. |
void |
visitEnum(String arg0,
String arg1,
String arg2)
Visits the content of the array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassChecker.ArrayAttribute(String name)
name
- the name of the attribute.Method Detail |
---|
public void visit(String arg0, Object arg1)
visit
in interface org.objectweb.asm.AnnotationVisitor
arg0
- null
arg1
- the valueAnnotationVisitor.visit(java.lang.String, java.lang.Object)
public org.objectweb.asm.AnnotationVisitor visitAnnotation(String arg0, String arg1)
visitAnnotation
in interface org.objectweb.asm.AnnotationVisitor
arg0
- null
arg1
- the annotation descriptor
ClassChecker.AnnotationDescriptor
which creates a copy of
the contained annotation.AnnotationVisitor.visitAnnotation(String, String)
public org.objectweb.asm.AnnotationVisitor visitArray(String arg0)
visitArray
in interface org.objectweb.asm.AnnotationVisitor
arg0
- null
ArrayDescriptor
which creates a copy of
the contained array.AnnotationVisitor.visitArray(String)
public void visitEnd()
visitEnd
in interface org.objectweb.asm.AnnotationVisitor
AnnotationVisitor.visitEnd()
public void visitEnum(String arg0, String arg1, String arg2)
visitEnum
in interface org.objectweb.asm.AnnotationVisitor
arg0
- null
arg1
- the enumeration descriptorarg2
- the valueAnnotationVisitor.visitEnum(String, String, String)
public void visit(org.objectweb.asm.AnnotationVisitor av)
av
- the annotation visitor on which the array attribute
needs to be injected.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |