nz.net.juju.jaune
Class CompiledMethod
java.lang.Object
|
+--nz.net.juju.jaune.CompiledMethod
- public class CompiledMethod
- extends java.lang.Object
Output from the MethodCompiler, consisting of the compiled form of
a method including all of the actual assembly, any external
references, and any constant data.
Constructor Summary |
CompiledMethod(gnu.bytecode.Method method,
CodeSection code,
java.util.ArrayList references,
java.util.ArrayList constantData)
|
Method Summary |
CodeSection |
getCode()
Returns the actual code in this method. |
java.util.ArrayList |
getConstantData()
Returns the list of all constant data this method references. |
int |
getId()
Returns the global method ID |
java.lang.String |
getLabel()
Returns the unique method label |
java.util.ArrayList |
getReferences()
Returns the list of all methods and fields this method
references. |
boolean |
isClassInit()
Returns true if this method is the class initialiser (clinit) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompiledMethod
public CompiledMethod(gnu.bytecode.Method method,
CodeSection code,
java.util.ArrayList references,
java.util.ArrayList constantData)
getId
public int getId()
- Returns the global method ID
getLabel
public java.lang.String getLabel()
- Returns the unique method label
getReferences
public java.util.ArrayList getReferences()
- Returns the list of all methods and fields this method
references.
getConstantData
public java.util.ArrayList getConstantData()
- Returns the list of all constant data this method references.
isClassInit
public boolean isClassInit()
- Returns true if this method is the class initialiser (clinit)
getCode
public CodeSection getCode()
- Returns the actual code in this method.