java.lang.Object
org.objectweb.asm.MethodVisitor
simula.compiler.byteCodeEngineering.RepairSTM_MethodVisitor
public class RepairSTM_MethodVisitor
extends org.objectweb.asm.MethodVisitor
Repair STM_ MethodVisitor.
Link to GitHub: Source File.
- Author:
- Øystein Myhre Andersen
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private static final boolean
private org.objectweb.asm.tree.InsnList
private int
private org.objectweb.asm.tree.MethodNode
private org.objectweb.asm.MethodVisitor
Fields inherited from class org.objectweb.asm.MethodVisitor
api, mv
-
Constructor Summary
ConstructorDescriptionRepairSTM_MethodVisitor
(String classFileName, int access, String name, String desc, org.objectweb.asm.MethodVisitor mv) The repair STM MethodVisitor. -
Method Summary
Modifier and TypeMethodDescriptionprivate void
listInstructionSequence
(String id, org.objectweb.asm.tree.AbstractInsnNode START, int n) private void
treat_STMMethod
(String methodName) private void
treatJUMPTABLE
(org.objectweb.asm.tree.MethodInsnNode invokeStatic) private void
treatLABEL
(org.objectweb.asm.tree.MethodInsnNode invokeStatic) void
visitEnd()
Visits the end of the method.Methods inherited from class org.objectweb.asm.MethodVisitor
getDelegate, visitAnnotableParameterCount, visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsn, visitVarInsn
-
Field Details
-
DEBUG
private static final boolean DEBUG- See Also:
-
classFileName
-
mn
private org.objectweb.asm.tree.MethodNode mn -
next
private org.objectweb.asm.MethodVisitor next -
instructions
private org.objectweb.asm.tree.InsnList instructions -
labelHandles
-
maxIndex
private int maxIndex
-
-
Constructor Details
-
RepairSTM_MethodVisitor
RepairSTM_MethodVisitor(String classFileName, int access, String name, String desc, org.objectweb.asm.MethodVisitor mv) The repair STM MethodVisitor.- Parameters:
classFileName
- the classFileNameaccess
- the method's access flagsname
- the method's namedesc
- the method's descriptormv
- the MethodVisitor
-
-
Method Details
-
visitEnd
public void visitEnd()Description copied from class:org.objectweb.asm.MethodVisitor
Visits the end of the method. This method, which is the last one to be called, is used to inform the visitor that all the annotations and attributes of the method have been visited.- Overrides:
visitEnd
in classorg.objectweb.asm.MethodVisitor
-
treat_STMMethod
-
treatLABEL
private void treatLABEL(org.objectweb.asm.tree.MethodInsnNode invokeStatic) -
listInstructionSequence
private void listInstructionSequence(String id, org.objectweb.asm.tree.AbstractInsnNode START, int n) -
treatJUMPTABLE
private void treatJUMPTABLE(org.objectweb.asm.tree.MethodInsnNode invokeStatic)
-