|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.asm.commons.EmptyVisitor
org.apache.felix.ipojo.manipulation.annotations.CustomAnnotationVisitor
public class CustomAnnotationVisitor
Collect metadata from custom annotation.
Constructor Summary | |
---|---|
CustomAnnotationVisitor(org.apache.felix.ipojo.metadata.Element elem,
MetadataCollector collector,
boolean root)
Constructor. |
Method Summary | |
---|---|
static org.apache.felix.ipojo.metadata.Element |
buildElement(java.lang.String desc)
Build the element object from the given descriptor. |
static boolean |
isCustomAnnotation(java.lang.String desc)
Check if the given annotation descriptor is an iPOJO custom annotation. |
void |
visit(java.lang.String arg0,
java.lang.Object arg1)
Visit an 'simple' annotation attribute. |
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(java.lang.String arg0,
java.lang.String arg1)
Visit a sub-annotation. |
org.objectweb.asm.AnnotationVisitor |
visitArray(java.lang.String arg0)
Visit an array attribute. |
void |
visitEnd()
End of the visit. |
Methods inherited from class org.objectweb.asm.commons.EmptyVisitor |
---|
visit, visitAnnotation, visitAnnotationDefault, 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 |
---|
visitEnum |
Constructor Detail |
---|
public CustomAnnotationVisitor(org.apache.felix.ipojo.metadata.Element elem, MetadataCollector collector, boolean root)
elem
- : parent elementcollector
- : metadata collectorroot
- : is the annotation a rootMethod Detail |
---|
public static boolean isCustomAnnotation(java.lang.String desc)
desc
- : annotation descriptor
public static org.apache.felix.ipojo.metadata.Element buildElement(java.lang.String desc)
desc
- : annotation descriptor
public void visit(java.lang.String arg0, java.lang.Object arg1)
visit
in interface org.objectweb.asm.AnnotationVisitor
visit
in class org.objectweb.asm.commons.EmptyVisitor
arg0
- : attribute namearg1
- : attribute valueEmptyVisitor.visit(java.lang.String, java.lang.Object)
public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String arg0, java.lang.String arg1)
visitAnnotation
in interface org.objectweb.asm.AnnotationVisitor
visitAnnotation
in class org.objectweb.asm.commons.EmptyVisitor
arg0
- : attribute name.arg1
- : annotation description
EmptyVisitor.visitAnnotation(java.lang.String, java.lang.String)
public org.objectweb.asm.AnnotationVisitor visitArray(java.lang.String arg0)
visitArray
in interface org.objectweb.asm.AnnotationVisitor
visitArray
in class org.objectweb.asm.commons.EmptyVisitor
arg0
- : attribute name
EmptyVisitor.visitArray(java.lang.String)
public void visitEnd()
visitEnd
in interface org.objectweb.asm.AnnotationVisitor
visitEnd
in interface org.objectweb.asm.ClassVisitor
visitEnd
in interface org.objectweb.asm.FieldVisitor
visitEnd
in interface org.objectweb.asm.MethodVisitor
visitEnd
in class org.objectweb.asm.commons.EmptyVisitor
EmptyVisitor.visitEnd()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |