public class AsmNodeHelper extends NodeHelper
Constructor and Description |
---|
AsmNodeHelper() |
Modifier and Type | Method and Description |
---|---|
org.objectweb.asm.tree.FieldNode |
createField(int access,
String name,
String desc,
String[] signature,
Object initialValue) |
org.objectweb.asm.tree.MethodNode |
createReturnConstantMethod(String name,
int value)
Creates a Method that always returns the given value.
|
getInstance, getLineNumberOfMethod
public org.objectweb.asm.tree.MethodNode createReturnConstantMethod(String name, int value)
NodeHelper
createReturnConstantMethod
in class NodeHelper
public org.objectweb.asm.tree.FieldNode createField(int access, String name, String desc, String[] signature, Object initialValue)
createField
in class NodeHelper
Copyright © 2015. All Rights Reserved.