Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.objectweb.asm.commons.EmptyVisitor
public class EmptyVisitor
extends Object
implements ClassVisitor, FieldVisitor, MethodVisitor, AnnotationVisitor
Method Summary | |
void |
|
void |
|
AnnotationVisitor |
|
AnnotationVisitor |
|
AnnotationVisitor | |
AnnotationVisitor |
|
void |
|
void | |
void |
|
void |
|
FieldVisitor |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
MethodVisitor |
|
void |
|
void |
|
void |
|
AnnotationVisitor |
|
void |
|
void |
|
void |
|
void |
|
void |
|
public void visit(int version, int access, String name, String signature, String superName, String[] interfaces)
- Specified by:
- visit in interface ClassVisitor
public AnnotationVisitor visitAnnotation(String name, String desc)
- Specified by:
- visitAnnotation in interface AnnotationVisitor
public AnnotationVisitor visitAnnotation(String desc, boolean visible)
Visits an annotation of the field.
- Specified by:
- visitAnnotation in interface ClassVisitor
- visitAnnotation in interface FieldVisitor
- visitAnnotation in interface MethodVisitor
- Parameters:
desc
- the class descriptor of the annotation class.visible
- true if the annotation is visible at runtime.
- Returns:
- a visitor to visit the annotation values, or null if this visitor is not interested in visiting this annotation.
public AnnotationVisitor visitAnnotationDefault()
- Specified by:
- visitAnnotationDefault in interface MethodVisitor
public AnnotationVisitor visitArray(String name)
- Specified by:
- visitArray in interface AnnotationVisitor
public void visitAttribute(Attribute attr)
Visits a non standard attribute of the field.
- Specified by:
- visitAttribute in interface ClassVisitor
- visitAttribute in interface FieldVisitor
- visitAttribute in interface MethodVisitor
- Parameters:
attr
- an attribute.
public void visitEnd()
Visits the end of the field. This method, which is the last one to be called, is used to inform the visitor that all the annotations and attributes of the field have been visited.
- Specified by:
- visitEnd in interface ClassVisitor
- visitEnd in interface FieldVisitor
- visitEnd in interface MethodVisitor
- visitEnd in interface AnnotationVisitor
public void visitEnum(String name, String desc, String value)
- Specified by:
- visitEnum in interface AnnotationVisitor
public FieldVisitor visitField(int access, String name, String desc, String signature, Object value)
- Specified by:
- visitField in interface ClassVisitor
public void visitFieldInsn(int opcode, String owner, String name, String desc)
- Specified by:
- visitFieldInsn in interface MethodVisitor
public void visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack)
- Specified by:
- visitFrame in interface MethodVisitor
public void visitIincInsn(int var, int increment)
- Specified by:
- visitIincInsn in interface MethodVisitor
public void visitInnerClass(String name, String outerName, String innerName, int access)
- Specified by:
- visitInnerClass in interface ClassVisitor
public void visitIntInsn(int opcode, int operand)
- Specified by:
- visitIntInsn in interface MethodVisitor
public void visitJumpInsn(int opcode, Label label)
- Specified by:
- visitJumpInsn in interface MethodVisitor
public void visitLdcInsn(Object cst)
- Specified by:
- visitLdcInsn in interface MethodVisitor
public void visitLineNumber(int line, Label start)
- Specified by:
- visitLineNumber in interface MethodVisitor
public void visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index)
- Specified by:
- visitLocalVariable in interface MethodVisitor
public void visitLookupSwitchInsn(Label dflt, keys[] , labels[] )
- Specified by:
- visitLookupSwitchInsn in interface MethodVisitor
public void visitMaxs(int maxStack, int maxLocals)
- Specified by:
- visitMaxs in interface MethodVisitor
public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)
- Specified by:
- visitMethod in interface ClassVisitor
public void visitMethodInsn(int opcode, String owner, String name, String desc)
- Specified by:
- visitMethodInsn in interface MethodVisitor
public void visitMultiANewArrayInsn(String desc, int dims)
- Specified by:
- visitMultiANewArrayInsn in interface MethodVisitor
public void visitOuterClass(String owner, String name, String desc)
- Specified by:
- visitOuterClass in interface ClassVisitor
public AnnotationVisitor visitParameterAnnotation(int parameter, String desc, boolean visible)
- Specified by:
- visitParameterAnnotation in interface MethodVisitor
public void visitSource(String source, String debug)
- Specified by:
- visitSource in interface ClassVisitor
public void visitTableSwitchInsn(int min, int max, Label dflt, labels[] )
- Specified by:
- visitTableSwitchInsn in interface MethodVisitor
public void visitTryCatchBlock(Label start, Label end, Label handler, String type)
- Specified by:
- visitTryCatchBlock in interface MethodVisitor
public void visitTypeInsn(int opcode, String type)
- Specified by:
- visitTypeInsn in interface MethodVisitor
public void visitVarInsn(int opcode, int var)
- Specified by:
- visitVarInsn in interface MethodVisitor