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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.AnnotationVisitorvisitAnnotation(String desc, boolean visible) org.objectweb.asm.AnnotationVisitorvoidvisitAttribute(org.objectweb.asm.Attribute attribute) voidvoidvisitEnd()voidvisitFieldInsn(int opcode, String owner, String name, String desc) voidvisitFrame(int arg0, int arg1, Object[] arg2, int arg3, Object[] arg4) voidvisitIincInsn(int var, int increment) voidvisitInsn(int opcode) voidvisitIntInsn(int opcode, int operand) voidvisitJumpInsn(int opcode, org.objectweb.asm.Label label) voidvisitLabel(org.objectweb.asm.Label label) voidvisitLdcInsn(Object cst) voidvisitLineNumber(int line, org.objectweb.asm.Label start) voidvisitLocalVariable(String name, String desc, String signature, org.objectweb.asm.Label start, org.objectweb.asm.Label end, int index) voidvisitLookupSwitchInsn(org.objectweb.asm.Label dflt, int[] keys, org.objectweb.asm.Label[] labels) voidvisitMaxs(int maxStack, int maxLocals) voidvisitMethodInsn(int opcode, String owner, String name, String desc) voidvisitMultiANewArrayInsn(String desc, int dimensions) org.objectweb.asm.AnnotationVisitorvisitParameterAnnotation(int parameter, String desc, boolean visible) voidvisitTableSwitchInsn(int min, int max, org.objectweb.asm.Label dflt, org.objectweb.asm.Label... labels) voidvisitTryCatchBlock(org.objectweb.asm.Label start, org.objectweb.asm.Label end, org.objectweb.asm.Label handler, String type) voidvisitTypeInsn(int opcode, String type) voidvisitVarInsn(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:
visitAnnotationin classorg.objectweb.asm.MethodVisitor
-
visitAnnotationDefault
- Overrides:
visitAnnotationDefaultin classorg.objectweb.asm.MethodVisitor
-
visitAttribute
- Overrides:
visitAttributein classorg.objectweb.asm.MethodVisitor
-
visitCode
- Overrides:
visitCodein classorg.objectweb.asm.MethodVisitor
-
visitEnd
- Overrides:
visitEndin classorg.objectweb.asm.MethodVisitor
-
visitFieldInsn
- Overrides:
visitFieldInsnin classorg.objectweb.asm.MethodVisitor
-
visitFrame
- Overrides:
visitFramein classorg.objectweb.asm.MethodVisitor
-
visitIincInsn
- Overrides:
visitIincInsnin classorg.objectweb.asm.MethodVisitor
-
visitInsn
- Overrides:
visitInsnin classorg.objectweb.asm.MethodVisitor
-
visitIntInsn
- Overrides:
visitIntInsnin classorg.objectweb.asm.MethodVisitor
-
visitJumpInsn
- Overrides:
visitJumpInsnin classorg.objectweb.asm.MethodVisitor
-
visitLabel
- Overrides:
visitLabelin classorg.objectweb.asm.MethodVisitor
-
visitLdcInsn
- Overrides:
visitLdcInsnin classorg.objectweb.asm.MethodVisitor
-
visitLineNumber
- Overrides:
visitLineNumberin 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:
visitLocalVariablein classorg.objectweb.asm.MethodVisitor
-
visitLookupSwitchInsn
public void visitLookupSwitchInsn(org.objectweb.asm.Label dflt, int[] keys, org.objectweb.asm.Label[] labels) - Overrides:
visitLookupSwitchInsnin classorg.objectweb.asm.MethodVisitor
-
visitMaxs
- Overrides:
visitMaxsin classorg.objectweb.asm.MethodVisitor
-
visitMethodInsn
- Overrides:
visitMethodInsnin classorg.objectweb.asm.MethodVisitor
-
visitMultiANewArrayInsn
- Overrides:
visitMultiANewArrayInsnin classorg.objectweb.asm.MethodVisitor
-
visitParameterAnnotation
public org.objectweb.asm.AnnotationVisitor visitParameterAnnotation(int parameter, String desc, boolean visible) - Overrides:
visitParameterAnnotationin classorg.objectweb.asm.MethodVisitor
-
visitTableSwitchInsn
public void visitTableSwitchInsn(int min, int max, org.objectweb.asm.Label dflt, org.objectweb.asm.Label... labels) - Overrides:
visitTableSwitchInsnin 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:
visitTryCatchBlockin classorg.objectweb.asm.MethodVisitor
-
visitTypeInsn
- Overrides:
visitTypeInsnin classorg.objectweb.asm.MethodVisitor
-
visitVarInsn
- Overrides:
visitVarInsnin classorg.objectweb.asm.MethodVisitor
-