@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 org.apache.commons.logging.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, visitVarInsnprotected final org.apache.commons.logging.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 interface org.objectweb.asm.MethodVisitorvisitParameterAnnotation in class org.objectweb.asm.commons.EmptyVisitorpublic org.objectweb.asm.AnnotationVisitor visitAnnotation(String desc, boolean visible)
visitAnnotation in interface org.objectweb.asm.ClassVisitorvisitAnnotation in interface org.objectweb.asm.FieldVisitorvisitAnnotation in interface org.objectweb.asm.MethodVisitorvisitAnnotation in class org.objectweb.asm.commons.EmptyVisitorpublic void visit(int version,
int access,
String name,
String signature,
String superName,
String[] interfaces)
visit in interface org.objectweb.asm.ClassVisitorvisit in class org.objectweb.asm.commons.EmptyVisitorpublic void visit(String name, Object value)
visit in interface org.objectweb.asm.AnnotationVisitorvisit in class org.objectweb.asm.commons.EmptyVisitorpublic org.objectweb.asm.FieldVisitor visitField(int access,
String name,
String desc,
String signature,
Object value)
visitField in interface org.objectweb.asm.ClassVisitorvisitField in class org.objectweb.asm.commons.EmptyVisitorpublic org.objectweb.asm.MethodVisitor visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions)
visitMethod in interface org.objectweb.asm.ClassVisitorvisitMethod in class org.objectweb.asm.commons.EmptyVisitorpublic 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.EmptyVisitorpublic 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 ClassScannerpublic String getClassName()
getClassName in interface ClassScannerCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.