public class MethodBytecodeUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static com.sun.jdi.Method |
getBridgeTargetMethod(com.sun.jdi.Method method,
ClassesByNameProvider classesByName) |
static byte[] |
getConstantPool(com.sun.jdi.ReferenceType type) |
static com.sun.jdi.Method |
getLambdaMethod(com.sun.jdi.ReferenceType clsType,
ClassesByNameProvider classesByName) |
static com.sun.jdi.Type |
getVarInstructionType(int opcode) |
static java.util.List<com.sun.jdi.Location> |
removeSameLineLocations(java.util.List<com.sun.jdi.Location> locations) |
static void |
visit(com.sun.jdi.Method method,
long maxOffset,
MethodVisitor methodVisitor,
boolean withLineNumbers) |
static void |
visit(com.sun.jdi.Method method,
MethodVisitor methodVisitor,
boolean withLineNumbers)
Allows to use ASM MethodVisitor with JDI method bytecode
|
public static void visit(com.sun.jdi.Method method, MethodVisitor methodVisitor, boolean withLineNumbers)
public static void visit(com.sun.jdi.Method method, long maxOffset, MethodVisitor methodVisitor, boolean withLineNumbers)
public static byte[] getConstantPool(com.sun.jdi.ReferenceType type)
public static com.sun.jdi.Type getVarInstructionType(int opcode)
public static com.sun.jdi.Method getLambdaMethod(com.sun.jdi.ReferenceType clsType, ClassesByNameProvider classesByName)
public static com.sun.jdi.Method getBridgeTargetMethod(com.sun.jdi.Method method, ClassesByNameProvider classesByName)
public static java.util.List<com.sun.jdi.Location> removeSameLineLocations(java.util.List<com.sun.jdi.Location> locations)