|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jode.jvm.SimpleRuntimeEnvironment
net.sf.jode.obfuscator.ConstantRuntimeEnvironment
Constructor Summary | |
ConstantRuntimeEnvironment()
|
Method Summary | |
java.lang.Object |
getField(Reference ref,
java.lang.Object obj)
Get the value of a field member. |
boolean |
instanceOf(java.lang.Object obj,
java.lang.String className)
Check if obj is an instance of className |
java.lang.Object |
invokeConstructor(Reference ref,
java.lang.Object[] params)
Create a new instance of an object. |
java.lang.Object |
invokeMethod(Reference ref,
boolean isVirtual,
java.lang.Object cls,
java.lang.Object[] params)
Invoke a method. |
static boolean |
isWhite(Reference ref)
|
static boolean |
isWhite(java.lang.String retTypeSig)
|
java.lang.Object |
newArray(java.lang.String type,
int[] dimensions)
Create a new multidimensional Array. |
void |
putField(Reference ref,
java.lang.Object obj,
java.lang.Object value)
Set the value of a field member. |
Methods inherited from class net.sf.jode.jvm.SimpleRuntimeEnvironment |
enterMonitor, exitMonitor, fromReflectType, toReflectType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConstantRuntimeEnvironment()
Method Detail |
public static boolean isWhite(Reference ref)
public static boolean isWhite(java.lang.String retTypeSig)
public java.lang.Object getField(Reference ref, java.lang.Object obj) throws InterpreterException
RuntimeEnvironment
getField
in interface RuntimeEnvironment
getField
in class SimpleRuntimeEnvironment
InterpreterException
public void putField(Reference ref, java.lang.Object obj, java.lang.Object value) throws InterpreterException
RuntimeEnvironment
putField
in interface RuntimeEnvironment
putField
in class SimpleRuntimeEnvironment
InterpreterException
public java.lang.Object invokeConstructor(Reference ref, java.lang.Object[] params) throws InterpreterException, java.lang.reflect.InvocationTargetException
RuntimeEnvironment
invokeConstructor
in interface RuntimeEnvironment
invokeConstructor
in class SimpleRuntimeEnvironment
InterpreterException
java.lang.reflect.InvocationTargetException
public java.lang.Object invokeMethod(Reference ref, boolean isVirtual, java.lang.Object cls, java.lang.Object[] params) throws InterpreterException, java.lang.reflect.InvocationTargetException
RuntimeEnvironment
invokeMethod
in interface RuntimeEnvironment
invokeMethod
in class SimpleRuntimeEnvironment
InterpreterException
java.lang.reflect.InvocationTargetException
public boolean instanceOf(java.lang.Object obj, java.lang.String className) throws InterpreterException
RuntimeEnvironment
instanceOf
in interface RuntimeEnvironment
instanceOf
in class SimpleRuntimeEnvironment
InterpreterException
public java.lang.Object newArray(java.lang.String type, int[] dimensions) throws InterpreterException, java.lang.NegativeArraySizeException
RuntimeEnvironment
newArray
in interface RuntimeEnvironment
newArray
in class SimpleRuntimeEnvironment
InterpreterException
java.lang.NegativeArraySizeException
|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |