public class ASMUtil
extends Object
Constructor and Description |
---|
ASMUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addDefaultReturnInsns(org.objectweb.asm.MethodVisitor methodVisitor,
org.objectweb.asm.Type returnType) |
static List<org.objectweb.asm.tree.FieldNode> |
addFieldNodes(List<org.objectweb.asm.tree.FieldNode> fieldNodes,
List<org.objectweb.asm.tree.FieldNode> newFieldNodes) |
static org.objectweb.asm.tree.FieldNode |
findFieldNode(List<org.objectweb.asm.tree.FieldNode> fieldNodes,
String name) |
static org.objectweb.asm.tree.MethodNode |
findMethodNode(List<org.objectweb.asm.tree.MethodNode> methodNodes,
String name,
org.objectweb.asm.Type returnType,
org.objectweb.asm.Type... argumentTypes) |
static org.objectweb.asm.tree.ClassNode |
loadAndRename(Class<?> clazz,
String newName) |
static void |
mergeMethods(org.objectweb.asm.tree.MethodNode containerMethodNode,
org.objectweb.asm.tree.MethodNode headMethodNode,
org.objectweb.asm.tree.MethodNode tailMethodNode) |
static org.objectweb.asm.tree.MethodNode |
removeMethodNode(List<org.objectweb.asm.tree.MethodNode> methodNodes,
String name,
org.objectweb.asm.Type returnType,
org.objectweb.asm.Type... argumentTypes) |
static List<org.objectweb.asm.tree.MethodNode> |
removeMethodNodes(List<org.objectweb.asm.tree.MethodNode> methodNodes,
int access) |
static List<org.objectweb.asm.tree.MethodNode> |
removeMethodNodes(List<org.objectweb.asm.tree.MethodNode> methodNodes,
Set<String> annotations) |
static List<org.objectweb.asm.tree.MethodNode> |
removeMethodNodes(List<org.objectweb.asm.tree.MethodNode> methodNodes,
String name) |
public static void addDefaultReturnInsns(org.objectweb.asm.MethodVisitor methodVisitor, org.objectweb.asm.Type returnType)
public static List<org.objectweb.asm.tree.FieldNode> addFieldNodes(List<org.objectweb.asm.tree.FieldNode> fieldNodes, List<org.objectweb.asm.tree.FieldNode> newFieldNodes)
public static org.objectweb.asm.tree.FieldNode findFieldNode(List<org.objectweb.asm.tree.FieldNode> fieldNodes, String name)
public static org.objectweb.asm.tree.MethodNode findMethodNode(List<org.objectweb.asm.tree.MethodNode> methodNodes, String name, org.objectweb.asm.Type returnType, org.objectweb.asm.Type... argumentTypes)
public static org.objectweb.asm.tree.ClassNode loadAndRename(Class<?> clazz, String newName)
public static void mergeMethods(org.objectweb.asm.tree.MethodNode containerMethodNode, org.objectweb.asm.tree.MethodNode headMethodNode, org.objectweb.asm.tree.MethodNode tailMethodNode)
public static org.objectweb.asm.tree.MethodNode removeMethodNode(List<org.objectweb.asm.tree.MethodNode> methodNodes, String name, org.objectweb.asm.Type returnType, org.objectweb.asm.Type... argumentTypes)
public static List<org.objectweb.asm.tree.MethodNode> removeMethodNodes(List<org.objectweb.asm.tree.MethodNode> methodNodes, int access)
public static List<org.objectweb.asm.tree.MethodNode> removeMethodNodes(List<org.objectweb.asm.tree.MethodNode> methodNodes, Set<String> annotations)
public static List<org.objectweb.asm.tree.MethodNode> removeMethodNodes(List<org.objectweb.asm.tree.MethodNode> methodNodes, String name)