@Deprecated public class AnnotationsScanner extends org.objectweb.asm.commons.EmptyVisitor implements ClassScanner
Modifier and Type | Field and Description |
---|---|
protected AnnotationInfo |
currentAnnotation
Deprecated.
|
protected BitSet |
currentlyProcessing
Deprecated.
|
protected Log |
log
Deprecated.
|
protected static int |
PROCESSING_CLASS
Deprecated.
|
protected static int |
PROCESSING_FIELD
Deprecated.
|
protected static int |
PROCESSING_METHOD
Deprecated.
|
protected static int |
PROCESSING_PARAM
Deprecated.
|
Constructor and Description |
---|
AnnotationsScanner()
Deprecated.
|
AnnotationsScanner(AnnotationFilter filter)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<AnnotationInfo> |
getAllAnnotations()
Deprecated.
|
String |
getAnnotationClassName(String rawName)
Deprecated.
|
List<AnnotationInfo> |
getClassAnnotations()
Deprecated.
|
String |
getClassName()
Deprecated.
|
List<AnnotationInfo> |
getFieldAnnotations()
Deprecated.
|
List<AnnotationInfo> |
getMethodAnnotations()
Deprecated.
|
List<AnnotationInfo> |
getParamAnnotations()
Deprecated.
|
boolean |
isMatch()
Deprecated.
|
void |
visit(int version,
int access,
String name,
String signature,
String superName,
String[] interfaces)
Deprecated.
This is the class entry.
|
void |
visit(String name,
Object value)
Deprecated.
We get annotation values in this method, but have to track the current context.
|
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(String desc,
boolean visible)
Deprecated.
|
void |
visitEnd()
Deprecated.
|
org.objectweb.asm.FieldVisitor |
visitField(int access,
String name,
String desc,
String signature,
Object value)
Deprecated.
|
org.objectweb.asm.MethodVisitor |
visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions)
Deprecated.
|
org.objectweb.asm.AnnotationVisitor |
visitParameterAnnotation(int parameter,
String desc,
boolean visible)
Deprecated.
|
visitAnnotation, visitAnnotationDefault, visitArray, visitAttribute, visitCode, visitEnum, visitFieldInsn, visitFrame, visitIincInsn, visitInnerClass, visitInsn, visitIntInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMultiANewArrayInsn, visitOuterClass, visitSource, visitTableSwitchInsn, visitTryCatchBlock, visitTypeInsn, visitVarInsn
visit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitMethod, visitOuterClass, visitSource, visitTypeAnnotation
visitAnnotation, visitAttribute, visitEnd, visitTypeAnnotation
visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, visitEnd, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsn, visitVarInsn
protected final Log log
protected AnnotationInfo currentAnnotation
protected static final int PROCESSING_FIELD
protected static final int PROCESSING_METHOD
protected static final int PROCESSING_CLASS
protected static final int PROCESSING_PARAM
protected BitSet currentlyProcessing
public AnnotationsScanner()
public AnnotationsScanner(AnnotationFilter filter)
public org.objectweb.asm.AnnotationVisitor visitParameterAnnotation(int parameter, String desc, boolean visible)
visitParameterAnnotation
in class org.objectweb.asm.commons.EmptyVisitor
public org.objectweb.asm.AnnotationVisitor visitAnnotation(String desc, boolean visible)
visitAnnotation
in class org.objectweb.asm.commons.EmptyVisitor
public void visit(int version, int access, String name, String signature, String superName, String[] interfaces)
visit
in class org.objectweb.asm.commons.EmptyVisitor
public void visit(String name, Object value)
visit
in class org.objectweb.asm.commons.EmptyVisitor
public org.objectweb.asm.FieldVisitor visitField(int access, String name, String desc, String signature, Object value)
visitField
in class org.objectweb.asm.commons.EmptyVisitor
public org.objectweb.asm.MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)
visitMethod
in class org.objectweb.asm.commons.EmptyVisitor
public void visitEnd()
visitEnd
in class org.objectweb.asm.commons.EmptyVisitor
public List<AnnotationInfo> getClassAnnotations()
public List<AnnotationInfo> getFieldAnnotations()
public List<AnnotationInfo> getMethodAnnotations()
public List<AnnotationInfo> getParamAnnotations()
public List<AnnotationInfo> getAllAnnotations()
public boolean isMatch()
isMatch
in interface ClassScanner
public String getClassName()
getClassName
in interface ClassScanner
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.