org.lightwolf
Class MethodFrame
java.lang.Object
org.lightwolf.MethodFrame
- All Implemented Interfaces:
- Serializable
public final class MethodFrame
- extends Object
- implements Serializable
An internal class invoked by enhanced flow-methods.
This class saves the values of local variables and parameters of a stack
frame. It is created for internal use and its interface may change
dramatically in future versions.
- Author:
- Fernando Colombo
- See Also:
- Serialized Form
ACTIVE
public static final int ACTIVE
- See Also:
- Constant Field Values
INVOKING
public static final int INVOKING
- See Also:
- Constant Field Values
RESTORING
public static final int RESTORING
- See Also:
- Constant Field Values
DEAD
public static final int DEAD
- See Also:
- Constant Field Values
LEAVING_METHOD
public static final int LEAVING_METHOD
- See Also:
- Constant Field Values
LEAVING_THREAD
public static final int LEAVING_THREAD
- See Also:
- Constant Field Values
enter
public static MethodFrame enter(Object owner,
String name,
String desc)
toString
public String toString()
- Overrides:
toString
in class Object
exit
public void exit()
exit
public void exit(Throwable e)
throws Throwable
- Throws:
Throwable
isLeaving
public boolean isLeaving()
monitorEnter
public void monitorEnter(Object o)
monitorExit
public void monitorExit(Object o)
getPrimitiveCount
public int getPrimitiveCount()
getObjectCount
public int getObjectCount()
getPrior
public MethodFrame getPrior()
getRoot
public MethodFrame getRoot()
save
public MethodFrame save(char c)
save
public MethodFrame save(boolean z)
save
public MethodFrame save(byte b)
save
public MethodFrame save(short s)
save
public MethodFrame save(int i)
save
public MethodFrame save(long l)
save
public MethodFrame save(float f)
save
public MethodFrame save(double d)
save
public MethodFrame save(Object o)
getChar
public char getChar(int vIndex)
getBoolean
public boolean getBoolean(int vIndex)
getByte
public byte getByte(int vIndex)
getShort
public short getShort(int vIndex)
getInt
public int getInt(int vIndex)
getLong
public long getLong(int vIndex)
getFloat
public float getFloat(int vIndex)
getDouble
public double getDouble(int vIndex)
getObject
public Object getObject(int objIndex)
restoreChar
public char restoreChar()
restoreBoolean
public boolean restoreBoolean()
restoreByte
public byte restoreByte()
restoreShort
public short restoreShort()
restoreInt
public int restoreInt()
restoreLong
public long restoreLong()
restoreFloat
public float restoreFloat()
restoreDouble
public double restoreDouble()
restoreObject
public Object restoreObject()
getResultChar
public char getResultChar()
getResultBoolean
public boolean getResultBoolean()
getResultByte
public byte getResultByte()
getResultShort
public short getResultShort()
getResultInt
public int getResultInt()
getResultLong
public long getResultLong()
getResultFloat
public float getResultFloat()
getResultDouble
public double getResultDouble()
getResultObject
public Object getResultObject()
notifyInvoke
public MethodFrame notifyInvoke(int point,
int varCount,
int objVarCount)
resumePoint
public int resumePoint()
prepare
public MethodFrame prepare(int varTop,
int objVarTop)
getFlow
public Flow getFlow()
getTargetClass
public Class<?> getTargetClass()
getMethodName
public String getMethodName()
getMethodDesc
public String getMethodDesc()
getMethodParameterTypes
public Class<?>[] getMethodParameterTypes()
throws ClassNotFoundException
- Throws:
ClassNotFoundException
getMethodReturnType
public Class<?> getMethodReturnType()
throws ClassNotFoundException
- Throws:
ClassNotFoundException