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 |
|
MethodVisitor |
|
void |
|
void |
|
void |
|
AnnotationVisitor |
|
void |
|
void |
|
void |
|
void |
|
void |
|
public void visit(String name, Object value)
Visits a primitive value of the annotation.Boolean
,Character
,Short
,Integer
,Long
,Float
,Double
,String
orType
.
- Specified by:
- visit in interface AnnotationVisitor
- Parameters:
name
- the value name.value
- the actual value, whose type must beByte
,
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)
Visits a nested annotation value of the annotation.
- Specified by:
- visitAnnotation in interface AnnotationVisitor
- Parameters:
name
- the value name.desc
- the class descriptor of the nested annotation class.
- Returns:
- a non null visitor to visit the actual nested annotation value. The nested annotation value must be fully visited before calling other methods on this annotation visitor.
public AnnotationVisitor visitAnnotation(String desc, boolean visible)
- Specified by:
- visitAnnotation in interface ClassVisitor
- visitAnnotation in interface FieldVisitor
- visitAnnotation in interface MethodVisitor
public AnnotationVisitor visitAnnotationDefault()
- Specified by:
- visitAnnotationDefault in interface MethodVisitor
public AnnotationVisitor visitArray(String name)
Visits an array value of the annotation.
- Specified by:
- visitArray in interface AnnotationVisitor
- Parameters:
name
- the value name.
- Returns:
- a non null visitor to visit the actual array value elements. The 'name' parameters passed to the methods of this visitor are ignored. All the array values must be visited before calling other methods on this annotation visitor.
public void visitAttribute(Attribute attr)
- Specified by:
- visitAttribute in interface ClassVisitor
- visitAttribute in interface FieldVisitor
- visitAttribute in interface MethodVisitor
public void visitEnd()
Visits the end of the annotation.
- 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)
Visits an enumeration value of the annotation.
- Specified by:
- visitEnum in interface AnnotationVisitor
- Parameters:
name
- the value name.desc
- the class descriptor of the enumeration class.value
- the actual enumeration value.
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 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 desc)
- Specified by:
- visitTypeInsn in interface MethodVisitor
public void visitVarInsn(int opcode, int var)
- Specified by:
- visitVarInsn in interface MethodVisitor