|
SandMark version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sandmark.util.BCEL
Utility routines to work with BCEL (JavaClass).
Constructor Summary | |
BCEL()
|
Method Summary | |
static java.lang.String |
addArgumentLast(java.lang.String signature,
java.lang.String newType)
Return the method signature resulting from adding the type type as the last argument. |
static int |
findLocal(java.lang.String name,
de.fub.bytecode.generic.MethodGen mg)
Return the index of local variable 'name' in method 'mg'. |
static MethodID[] |
getMethods(de.fub.bytecode.classfile.JavaClass jc)
Return a list of all the methods in the class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BCEL()
Method Detail |
public static int findLocal(java.lang.String name, de.fub.bytecode.generic.MethodGen mg)
name
- the name of the local variablemg
- the method in which to add the variablepublic static MethodID[] getMethods(de.fub.bytecode.classfile.JavaClass jc)
jc
- the classpublic static java.lang.String addArgumentLast(java.lang.String signature, java.lang.String newType)
type
as the last argument.
signature
- the method signaturenewType
- the type of the new argumenht
|
SandMark version 3.0 Wed Jan 29 10:30:05 MST 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |