|
||||||||||
| 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(Element elem,
MetadataCollector collector,
boolean root,
boolean clazz)
Constructor. |
|
| Method Summary | |
|---|---|
static Element |
buildElement(String desc)
Build the element object from the given descriptor. |
static boolean |
isCustomAnnotation(String desc)
Check if the given annotation descriptor is an iPOJO custom annotation. |
void |
visit(String arg0,
Object arg1)
Visit a 'simple' annotation attribute. |
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(String arg0,
String arg1)
Visit a sub-annotation. |
org.objectweb.asm.AnnotationVisitor |
visitArray(String arg0)
Visit an array attribute. |
void |
visitEnd()
End of the visit. |
void |
visitEnum(String arg0,
String arg1,
String arg2)
Visits an enumeration attribute. |
| Methods inherited from class org.objectweb.asm.commons.EmptyVisitor |
|---|
visit, visitAnnotation, visitAnnotationDefault, 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 |
| Constructor Detail |
|---|
public CustomAnnotationVisitor(Element elem,
MetadataCollector collector,
boolean root,
boolean clazz)
elem - the parent elementcollector - the metadata collectorroot - is the annotation a rootclazz - the annotation is a class annotation.| Method Detail |
|---|
public static boolean isCustomAnnotation(String desc)
desc - : annotation descriptor
public static Element buildElement(String desc)
desc - : annotation descriptor
public void visit(String arg0,
Object arg1)
visit in interface org.objectweb.asm.AnnotationVisitorvisit in class org.objectweb.asm.commons.EmptyVisitorarg0 - : attribute namearg1 - : attribute valueEmptyVisitor.visit(java.lang.String, java.lang.Object)
public org.objectweb.asm.AnnotationVisitor visitAnnotation(String arg0,
String arg1)
visitAnnotation in interface org.objectweb.asm.AnnotationVisitorvisitAnnotation in class org.objectweb.asm.commons.EmptyVisitorarg0 - : attribute name.arg1 - : annotation description
EmptyVisitor.visitAnnotation(java.lang.String, java.lang.String)public org.objectweb.asm.AnnotationVisitor visitArray(String arg0)
visitArray in interface org.objectweb.asm.AnnotationVisitorvisitArray in class org.objectweb.asm.commons.EmptyVisitorarg0 - : attribute name
EmptyVisitor.visitArray(java.lang.String)
public void visitEnum(String arg0,
String arg1,
String arg2)
visitEnum in interface org.objectweb.asm.AnnotationVisitorvisitEnum in class org.objectweb.asm.commons.EmptyVisitorarg0 - the attribute namearg1 - the enumeration descriptorarg2 - the attribute valueAnnotationVisitor.visitEnum(java.lang.String, java.lang.String, java.lang.String)public void visitEnd()
visitEnd in interface org.objectweb.asm.AnnotationVisitorvisitEnd in interface org.objectweb.asm.ClassVisitorvisitEnd in interface org.objectweb.asm.FieldVisitorvisitEnd in interface org.objectweb.asm.MethodVisitorvisitEnd in class org.objectweb.asm.commons.EmptyVisitorEmptyVisitor.visitEnd()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||