|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--nz.net.juju.jaune.Support
The support class provides static helper methods to the rest of the compiler including mapping methods to labels, locating methods, and finding definitions and implementations of methods. RETARGET: The label formats depend on the target.
Field Summary | |
static java.lang.String |
LABEL_CLASS
Suffix for the class label. |
Constructor Summary | |
Support()
|
Method Summary | |
static gnu.bytecode.Method |
findDefinition(gnu.bytecode.ClassType ctype,
gnu.bytecode.CpoolNameAndType cmethod)
Finds the first definition of the given method in the class heirachy. |
static gnu.bytecode.Method |
findDefinition(gnu.bytecode.Method method)
Finds the first definition of the given method in the class heirachy. |
static gnu.bytecode.Method |
findImplementation(gnu.bytecode.ClassType ctype,
gnu.bytecode.CpoolNameAndType cmethod)
Finds the most recent implementation of the given method. |
static gnu.bytecode.Method |
findImplementation(gnu.bytecode.ClassType ctype,
gnu.bytecode.Method method)
Finds the most recent implementation of the given method. |
static int |
getFieldId(gnu.bytecode.Field meth)
Returns the unique global field ID for this field. |
static java.lang.String |
getLabel(gnu.bytecode.ClassType cl)
Returns the unqiue string label for this class. |
static java.lang.String |
getLabel(gnu.bytecode.Field field)
Returns the unique label for this field. |
static java.lang.String |
getLabel(gnu.bytecode.Method meth)
Returns the unique label for this method. |
static int |
getMethodId(gnu.bytecode.Method meth)
Returns the unique global method ID for this method. |
static java.lang.String |
getSpecialLabel(gnu.bytecode.ClassType classType,
java.lang.String special)
Returns the unique label for a special method such as init, clinit in this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String LABEL_CLASS
Constructor Detail |
public Support()
Method Detail |
public static java.lang.String getLabel(gnu.bytecode.ClassType cl)
public static java.lang.String getLabel(gnu.bytecode.Method meth)
public static java.lang.String getLabel(gnu.bytecode.Field field)
getLabel(gnu.bytecode.ClassType)
public static java.lang.String getSpecialLabel(gnu.bytecode.ClassType classType, java.lang.String special)
public static int getMethodId(gnu.bytecode.Method meth)
public static int getFieldId(gnu.bytecode.Field meth)
public static gnu.bytecode.Method findDefinition(gnu.bytecode.ClassType ctype, gnu.bytecode.CpoolNameAndType cmethod) throws java.lang.Exception
public static gnu.bytecode.Method findImplementation(gnu.bytecode.ClassType ctype, gnu.bytecode.CpoolNameAndType cmethod) throws java.lang.Exception
public static gnu.bytecode.Method findImplementation(gnu.bytecode.ClassType ctype, gnu.bytecode.Method method) throws java.lang.Exception
public static gnu.bytecode.Method findDefinition(gnu.bytecode.Method method) throws java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |