Package jadex.bdiv3.asm
Class AsmNodeHelper
- java.lang.Object
-
- jadex.bdiv3.NodeHelper
-
- jadex.bdiv3.asm.AsmNodeHelper
-
public class AsmNodeHelper extends NodeHelper
Helper for creating nodes.
-
-
Constructor Summary
Constructors Constructor Description AsmNodeHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.objectweb.asm.tree.FieldNode
createField(int access, java.lang.String name, java.lang.String desc, java.lang.String[] signature, java.lang.Object initialValue)
Create field node helper.org.objectweb.asm.tree.MethodNode
createReturnConstantMethod(java.lang.String name, int value)
Create const method node helper.-
Methods inherited from class jadex.bdiv3.NodeHelper
getInstance, getLineNumberOfMethod
-
-
-
-
Method Detail
-
createReturnConstantMethod
public org.objectweb.asm.tree.MethodNode createReturnConstantMethod(java.lang.String name, int value)
Create const method node helper.- Specified by:
createReturnConstantMethod
in classNodeHelper
- Returns:
- the new method
-
createField
public org.objectweb.asm.tree.FieldNode createField(int access, java.lang.String name, java.lang.String desc, java.lang.String[] signature, java.lang.Object initialValue)
Create field node helper.- Specified by:
createField
in classNodeHelper
-
-