sleep.engine
Class CallRequest.InlineCallRequest
java.lang.Object
sleep.engine.CallRequest
sleep.engine.CallRequest.InlineCallRequest
- Enclosing class:
- CallRequest
public static class CallRequest.InlineCallRequest
- extends CallRequest
execute a block of code inline with all the profiling, tracing, and other support
Method Summary |
protected Scalar |
execute()
execute the function call contained here |
protected java.lang.String |
formatCall(java.lang.String args)
return a string view of this function call for trace messages; arguments are captured as comma separated descriptions of all args |
java.lang.String |
getFrameDescription()
return the description of this current stack frame in the event of an exception |
java.lang.String |
getFunctionName()
return the name of the function (for use in profiler statistics) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
function
protected java.lang.String function
inline
protected Block inline
CallRequest.InlineCallRequest
public CallRequest.InlineCallRequest(ScriptEnvironment e,
int lineNo,
java.lang.String functionName,
Block i)
getFunctionName
public java.lang.String getFunctionName()
- Description copied from class:
CallRequest
- return the name of the function (for use in profiler statistics)
- Specified by:
getFunctionName
in class CallRequest
getFrameDescription
public java.lang.String getFrameDescription()
- Description copied from class:
CallRequest
- return the description of this current stack frame in the event of an exception
- Specified by:
getFrameDescription
in class CallRequest
formatCall
protected java.lang.String formatCall(java.lang.String args)
- Description copied from class:
CallRequest
- return a string view of this function call for trace messages; arguments are captured as comma separated descriptions of all args
- Specified by:
formatCall
in class CallRequest
execute
protected Scalar execute()
- Description copied from class:
CallRequest
- execute the function call contained here
- Specified by:
execute
in class CallRequest