|
|||||||||
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<MethodAnnotationMetadata>
org.objectweb.easybeans.deployment.annotations.analyzer.ScanMethodVisitor
public class ScanMethodVisitor
This classes analyses a given method and build/fill meta data information.
Field Summary | |
---|---|
private ClassAnnotationMetadata |
classAnnotationMetadata
Parent of method annotation meta data that are built by this visitor. |
private MethodAnnotationMetadata |
methodAnnotationMetadata
Class generated by the visitor which correspond to meta data contained in the parsed method. |
Constructor Summary | |
---|---|
ScanMethodVisitor(JMethod jMethod,
ClassAnnotationMetadata classAnnotationMetadata)
Constructor. |
Method Summary | |
---|---|
private void |
initVisitors()
Build visitors used by this one. |
org.objectweb.asm.AnnotationVisitor |
visitAnnotationDefault()
Visits the default value of this annotation interface method (ignore it). |
void |
visitEnd()
Visits the end of the method. |
org.objectweb.asm.AnnotationVisitor |
visitParameterAnnotation(int parameter,
java.lang.String desc,
boolean visible)
Visits an annotation of a parameter this method (ignore it). |
Methods inherited from class org.objectweb.easybeans.deployment.annotations.analyzer.ScanCommonVisitor |
---|
getAnnotationVisitors, getEmptyVisitor, initVisitors, visitAnnotation |
Methods inherited from class org.objectweb.asm.commons.EmptyVisitor |
---|
visit, visit, visitAnnotation, visitArray, visitAttribute, visitCode, visitEnum, visitField, visitFieldInsn, visitFrame, visitIincInsn, visitInnerClass, visitInsn, visitIntInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLookupSwitchInsn, visitMaxs, visitMethod, visitMethodInsn, visitMultiANewArrayInsn, visitOuterClass, 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.MethodVisitor |
---|
visitAnnotation, visitAttribute, visitCode, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitIntInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMultiANewArrayInsn, visitTableSwitchInsn, visitTryCatchBlock, visitTypeInsn, visitVarInsn |
Field Detail |
---|
private MethodAnnotationMetadata methodAnnotationMetadata
private ClassAnnotationMetadata classAnnotationMetadata
Constructor Detail |
---|
public ScanMethodVisitor(JMethod jMethod, ClassAnnotationMetadata classAnnotationMetadata)
jMethod
- Method object on which we set meta data.classAnnotationMetadata
- the parent object on which add generated meta-data.Method Detail |
---|
private void initVisitors()
public org.objectweb.asm.AnnotationVisitor visitAnnotationDefault()
visitAnnotationDefault
in interface org.objectweb.asm.MethodVisitor
visitAnnotationDefault
in class org.objectweb.asm.commons.EmptyVisitor
public org.objectweb.asm.AnnotationVisitor visitParameterAnnotation(int parameter, java.lang.String desc, boolean visible)
visitParameterAnnotation
in interface org.objectweb.asm.MethodVisitor
visitParameterAnnotation
in class org.objectweb.asm.commons.EmptyVisitor
parameter
- the parameter index.desc
- the class descriptor of the annotation class.visible
- true if the annotation is visible at runtime.
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |