Class PackStateGenerators
java.lang.Object
com.offbynull.coroutines.instrumenter.PackStateGenerators
Utility class to generate bytecode instructions that pack/unpack storage arrays for the operand stack and local variables table into an
Object array.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.objectweb.asm.tree.InsnList
packStorageArrays
(DebugGenerators.MarkerType markerType, org.objectweb.asm.tree.analysis.Frame<org.objectweb.asm.tree.analysis.BasicValue> frame, VariableTable.Variable containerVar, StorageVariables localsStorageVars, StorageVariables operandStackStorageVars) static org.objectweb.asm.tree.InsnList
unpackLocalsStorageArrays
(DebugGenerators.MarkerType markerType, org.objectweb.asm.tree.analysis.Frame<org.objectweb.asm.tree.analysis.BasicValue> frame, VariableTable.Variable containerVar, StorageVariables localsStorageVars) static org.objectweb.asm.tree.InsnList
unpackOperandStackStorageArrays
(DebugGenerators.MarkerType markerType, org.objectweb.asm.tree.analysis.Frame<org.objectweb.asm.tree.analysis.BasicValue> frame, VariableTable.Variable containerVar, StorageVariables operandStackStorageVars)
-
Constructor Details
-
PackStateGenerators
private PackStateGenerators()
-
-
Method Details
-
packStorageArrays
public static org.objectweb.asm.tree.InsnList packStorageArrays(DebugGenerators.MarkerType markerType, org.objectweb.asm.tree.analysis.Frame<org.objectweb.asm.tree.analysis.BasicValue> frame, VariableTable.Variable containerVar, StorageVariables localsStorageVars, StorageVariables operandStackStorageVars) -
unpackLocalsStorageArrays
public static org.objectweb.asm.tree.InsnList unpackLocalsStorageArrays(DebugGenerators.MarkerType markerType, org.objectweb.asm.tree.analysis.Frame<org.objectweb.asm.tree.analysis.BasicValue> frame, VariableTable.Variable containerVar, StorageVariables localsStorageVars) -
unpackOperandStackStorageArrays
public static org.objectweb.asm.tree.InsnList unpackOperandStackStorageArrays(DebugGenerators.MarkerType markerType, org.objectweb.asm.tree.analysis.Frame<org.objectweb.asm.tree.analysis.BasicValue> frame, VariableTable.Variable containerVar, StorageVariables operandStackStorageVars)
-