|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.asm.commons.EmptyVisitor
org.objectweb.easybeans.deployment.annotations.analyzer.ScanCommonVisitor<T>
T
- the kind of metadata visited by this visitor.public abstract class ScanCommonVisitor<T extends ISharedMetadata>
This classes analyses annotation (could be class, method, attribute, etc). It is extended by classes for a specific type Class, Method, Attribute.
Field Summary | |
---|---|
private java.util.Map<java.lang.String,org.objectweb.asm.AnnotationVisitor> |
annotationVisitors
Map of annotation visitors used by this visitor. The key is the annotation descriptor (asm) |
private org.objectweb.asm.commons.EmptyVisitor |
emptyVisitor
Annotation visitor which do nothing. |
Constructor Summary | |
---|---|
ScanCommonVisitor()
Constructor Build map of visitors. |
Method Summary | |
---|---|
protected java.util.Map<java.lang.String,org.objectweb.asm.AnnotationVisitor> |
getAnnotationVisitors()
|
protected org.objectweb.asm.commons.EmptyVisitor |
getEmptyVisitor()
|
protected void |
initVisitors(T annotationMetadata)
Build visitors used by this one. |
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(java.lang.String desc,
boolean visible)
Visits an annotation of the class. |
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, visitParameterAnnotation, visitSource, visitTableSwitchInsn, visitTryCatchBlock, visitTypeInsn, visitVarInsn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private org.objectweb.asm.commons.EmptyVisitor emptyVisitor
private java.util.Map<java.lang.String,org.objectweb.asm.AnnotationVisitor> annotationVisitors
Constructor Detail |
---|
public ScanCommonVisitor()
Method Detail |
---|
protected void initVisitors(T annotationMetadata)
annotationMetadata
- metadata usedprotected org.objectweb.asm.commons.EmptyVisitor getEmptyVisitor()
public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String desc, boolean visible)
visitAnnotation
in interface org.objectweb.asm.ClassVisitor
visitAnnotation
in interface org.objectweb.asm.FieldVisitor
visitAnnotation
in interface org.objectweb.asm.MethodVisitor
visitAnnotation
in class org.objectweb.asm.commons.EmptyVisitor
desc
- the class descriptor of the annotation class.visible
- true if the annotation is visible at runtime.
protected java.util.Map<java.lang.String,org.objectweb.asm.AnnotationVisitor> getAnnotationVisitors()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |