|
|||||||||
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.ScanFieldVisitor
public class ScanFieldVisitor
This classes analyses a given field and build/fill meta data information.
Field Summary | |
---|---|
private ClassAnnotationMetadata |
classAnnotationMetadata
Parent of field annotation meta data that are built by this visitor. |
private org.objectweb.asm.commons.EmptyVisitor |
emptyVisitor
Annotation visitor which do nothing. |
private FieldAnnotationMetadata |
fieldAnnotationMetadata
Class generated by the visitor which correspond to meta data contained in the parsed field. |
private java.util.Map<java.lang.String,org.objectweb.asm.AnnotationVisitor> |
fieldAnnotationVisitors
Map of annotation visitors used by this visitor. The key is the annotation descriptor (asm) |
Constructor Summary | |
---|---|
ScanFieldVisitor(JField jField,
ClassAnnotationMetadata classAnnotationMetadata)
Constructor. |
Method Summary | |
---|---|
private void |
initVisitors()
Build visitors used by this one. |
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(java.lang.String desc,
boolean visible)
Visits an annotation of the field. |
void |
visitEnd()
Visits the end of the method. |
Methods inherited from class org.objectweb.asm.commons.EmptyVisitor |
---|
visit, visit, visitAnnotation, visitAnnotationDefault, visitArray, visitAttribute, visitCode, visitEnum, visitField, visitFieldInsn, 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.FieldVisitor |
---|
visitAttribute |
Field Detail |
---|
private org.objectweb.asm.commons.EmptyVisitor emptyVisitor
private FieldAnnotationMetadata fieldAnnotationMetadata
private java.util.Map<java.lang.String,org.objectweb.asm.AnnotationVisitor> fieldAnnotationVisitors
private ClassAnnotationMetadata classAnnotationMetadata
Constructor Detail |
---|
public ScanFieldVisitor(JField jField, ClassAnnotationMetadata classAnnotationMetadata)
jField
- field 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 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.
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 |