public class Util extends Object
| Constructor and Description |
|---|
Util(boolean debug,
int verbose) |
| Modifier and Type | Method and Description |
|---|---|
String |
augmentInfoMethodDescriptor(String desc) |
void |
emitIntConstant(org.objectweb.asm.MethodVisitor mv,
int val) |
void |
error(String str) |
boolean |
getDebug() |
String |
getFullMethodDescriptor(Method method) |
String |
getFullMethodDescriptor(org.objectweb.asm.tree.MethodInsnNode mn) |
String |
getFullMethodDescriptor(org.objectweb.asm.tree.MethodNode mn) |
String |
getFullMethodDescriptor(String name,
String desc) |
boolean |
hasAccess(int access,
int flag) |
void |
info(int level,
String str) |
void |
initLocal(org.objectweb.asm.MethodVisitor mv,
org.objectweb.asm.tree.LocalVariableNode var) |
void |
loadFromXReturn(org.objectweb.asm.MethodVisitor mv,
int returnOpcode,
org.objectweb.asm.tree.LocalVariableNode holder) |
void |
msg(String str) |
void |
newWithSimpleConstructor(org.objectweb.asm.MethodVisitor mv,
Class<?> cls) |
static String |
opcodeToString(int opcode) |
void |
storeFromXReturn(org.objectweb.asm.MethodVisitor mv,
int returnOpcode,
org.objectweb.asm.tree.LocalVariableNode holder) |
byte[] |
transform(boolean debug,
byte[] cls,
Function<org.objectweb.asm.ClassVisitor,org.objectweb.asm.ClassVisitor> factory) |
int |
wrapArg(org.objectweb.asm.MethodVisitor mv,
int argIndex,
org.objectweb.asm.Type atype) |
void |
wrapArgs(org.objectweb.asm.MethodVisitor mv,
int access,
String desc) |
public boolean getDebug()
public void info(int level,
String str)
public void msg(String str)
public void error(String str)
public void initLocal(org.objectweb.asm.MethodVisitor mv,
org.objectweb.asm.tree.LocalVariableNode var)
public String getFullMethodDescriptor(org.objectweb.asm.tree.MethodNode mn)
public String getFullMethodDescriptor(org.objectweb.asm.tree.MethodInsnNode mn)
public void newWithSimpleConstructor(org.objectweb.asm.MethodVisitor mv,
Class<?> cls)
public void emitIntConstant(org.objectweb.asm.MethodVisitor mv,
int val)
public int wrapArg(org.objectweb.asm.MethodVisitor mv,
int argIndex,
org.objectweb.asm.Type atype)
public void wrapArgs(org.objectweb.asm.MethodVisitor mv,
int access,
String desc)
public void storeFromXReturn(org.objectweb.asm.MethodVisitor mv,
int returnOpcode,
org.objectweb.asm.tree.LocalVariableNode holder)
public void loadFromXReturn(org.objectweb.asm.MethodVisitor mv,
int returnOpcode,
org.objectweb.asm.tree.LocalVariableNode holder)
public boolean hasAccess(int access,
int flag)
public static String opcodeToString(int opcode)
public byte[] transform(boolean debug,
byte[] cls,
Function<org.objectweb.asm.ClassVisitor,org.objectweb.asm.ClassVisitor> factory)
Copyright © 2011–2021 Eclipse Foundation. All rights reserved.