Class Segment.SegmentMethodVisitor
java.lang.Object
org.objectweb.asm.MethodVisitor
org.apache.commons.compress.harmony.pack200.Segment.SegmentMethodVisitor
- Enclosing class:
- Segment
This class implements MethodVisitor to visit the contents and metadata related to methods in a class file.
It delegates to BcBands for bytecode related visits and to ClassBands for everything else.
-
Field Summary
Fields inherited from class org.objectweb.asm.MethodVisitor
api, mv
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.AnnotationVisitor
visitAnnotation
(String desc, boolean visible) org.objectweb.asm.AnnotationVisitor
void
visitAttribute
(org.objectweb.asm.Attribute attribute) void
void
visitEnd()
void
visitFieldInsn
(int opcode, String owner, String name, String desc) void
visitFrame
(int arg0, int arg1, Object[] arg2, int arg3, Object[] arg4) void
visitIincInsn
(int var, int increment) void
visitInsn
(int opcode) void
visitIntInsn
(int opcode, int operand) void
visitJumpInsn
(int opcode, org.objectweb.asm.Label label) void
visitLabel
(org.objectweb.asm.Label label) void
visitLdcInsn
(Object cst) void
visitLineNumber
(int line, org.objectweb.asm.Label start) void
visitLocalVariable
(String name, String desc, String signature, org.objectweb.asm.Label start, org.objectweb.asm.Label end, int index) void
visitLookupSwitchInsn
(org.objectweb.asm.Label dflt, int[] keys, org.objectweb.asm.Label[] labels) void
visitMaxs
(int maxStack, int maxLocals) void
visitMethodInsn
(int opcode, String owner, String name, String desc) void
visitMultiANewArrayInsn
(String desc, int dimensions) org.objectweb.asm.AnnotationVisitor
visitParameterAnnotation
(int parameter, String desc, boolean visible) void
visitTableSwitchInsn
(int min, int max, org.objectweb.asm.Label dflt, org.objectweb.asm.Label... labels) void
visitTryCatchBlock
(org.objectweb.asm.Label start, org.objectweb.asm.Label end, org.objectweb.asm.Label handler, String type) void
visitTypeInsn
(int opcode, String type) void
visitVarInsn
(int opcode, int var) Methods inherited from class org.objectweb.asm.MethodVisitor
getDelegate, visitAnnotableParameterCount, visitInsnAnnotation, visitInvokeDynamicInsn, visitLocalVariableAnnotation, visitMethodInsn, visitParameter, visitTryCatchAnnotation, visitTypeAnnotation
-
Constructor Details
-
SegmentMethodVisitor
public SegmentMethodVisitor()
-
-
Method Details
-
visitAnnotation
- Overrides:
visitAnnotation
in classorg.objectweb.asm.MethodVisitor
-
visitAnnotationDefault
- Overrides:
visitAnnotationDefault
in classorg.objectweb.asm.MethodVisitor
-
visitAttribute
- Overrides:
visitAttribute
in classorg.objectweb.asm.MethodVisitor
-
visitCode
- Overrides:
visitCode
in classorg.objectweb.asm.MethodVisitor
-
visitEnd
- Overrides:
visitEnd
in classorg.objectweb.asm.MethodVisitor
-
visitFieldInsn
- Overrides:
visitFieldInsn
in classorg.objectweb.asm.MethodVisitor
-
visitFrame
- Overrides:
visitFrame
in classorg.objectweb.asm.MethodVisitor
-
visitIincInsn
- Overrides:
visitIincInsn
in classorg.objectweb.asm.MethodVisitor
-
visitInsn
- Overrides:
visitInsn
in classorg.objectweb.asm.MethodVisitor
-
visitIntInsn
- Overrides:
visitIntInsn
in classorg.objectweb.asm.MethodVisitor
-
visitJumpInsn
- Overrides:
visitJumpInsn
in classorg.objectweb.asm.MethodVisitor
-
visitLabel
- Overrides:
visitLabel
in classorg.objectweb.asm.MethodVisitor
-
visitLdcInsn
- Overrides:
visitLdcInsn
in classorg.objectweb.asm.MethodVisitor
-
visitLineNumber
- Overrides:
visitLineNumber
in classorg.objectweb.asm.MethodVisitor
-
visitLocalVariable
public void visitLocalVariable(String name, String desc, String signature, org.objectweb.asm.Label start, org.objectweb.asm.Label end, int index) - Overrides:
visitLocalVariable
in classorg.objectweb.asm.MethodVisitor
-
visitLookupSwitchInsn
public void visitLookupSwitchInsn(org.objectweb.asm.Label dflt, int[] keys, org.objectweb.asm.Label[] labels) - Overrides:
visitLookupSwitchInsn
in classorg.objectweb.asm.MethodVisitor
-
visitMaxs
- Overrides:
visitMaxs
in classorg.objectweb.asm.MethodVisitor
-
visitMethodInsn
- Overrides:
visitMethodInsn
in classorg.objectweb.asm.MethodVisitor
-
visitMultiANewArrayInsn
- Overrides:
visitMultiANewArrayInsn
in classorg.objectweb.asm.MethodVisitor
-
visitParameterAnnotation
public org.objectweb.asm.AnnotationVisitor visitParameterAnnotation(int parameter, String desc, boolean visible) - Overrides:
visitParameterAnnotation
in classorg.objectweb.asm.MethodVisitor
-
visitTableSwitchInsn
public void visitTableSwitchInsn(int min, int max, org.objectweb.asm.Label dflt, org.objectweb.asm.Label... labels) - Overrides:
visitTableSwitchInsn
in classorg.objectweb.asm.MethodVisitor
-
visitTryCatchBlock
public void visitTryCatchBlock(org.objectweb.asm.Label start, org.objectweb.asm.Label end, org.objectweb.asm.Label handler, String type) - Overrides:
visitTryCatchBlock
in classorg.objectweb.asm.MethodVisitor
-
visitTypeInsn
- Overrides:
visitTypeInsn
in classorg.objectweb.asm.MethodVisitor
-
visitVarInsn
- Overrides:
visitVarInsn
in classorg.objectweb.asm.MethodVisitor
-