sofya.ed.semantic
Class EventListener.Arguments

java.lang.Object
  extended by sofya.ed.semantic.EventListener.Arguments
Enclosing interface:
EventListener

public static class EventListener.Arguments
extends java.lang.Object

Provides access to the arguments to a method.

Information about arguments is available for method calls that are witnessed using interceptors.


Method Summary
 java.util.Map getAllArguments()
          Gets the values of the arguments to the call.
 com.sun.jdi.ObjectReference getThis()
          Gets the reference to "this" that will be available in the called method, or null if the call is static.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getThis

public com.sun.jdi.ObjectReference getThis()
Gets the reference to "this" that will be available in the called method, or null if the call is static.

Returns:
The "this" reference for the called method (the receiver object of the call, if virtual), or null if the call is static.

getAllArguments

public java.util.Map getAllArguments()
Gets the values of the arguments to the call.

Returns:
A map from each LocalVariable argument to its corresponding value.