ibis.satin.impl.syncrewriter
Class SpawnableCall

java.lang.Object
  extended by ibis.satin.impl.syncrewriter.SpawnableCall

public class SpawnableCall
extends Object

This class represents a spawnable call.


Method Summary
 boolean exceptionsHandled()
          Tests whether exceptions are handled for this spawnable call.
 Integer[] getIndicesStores()
          Returns the indices in which the spawnable call stores.
 org.apache.bcel.generic.InstructionHandle getInvokeInstruction()
          Returns the invoke instruction of the spawnable call.
 org.apache.bcel.generic.InstructionHandle getObjectReference()
          Returns the object reference of the spawnable call.
 boolean resultIsStored()
          Tests whether the result for this spawnable call is stored with a store instruction.
 boolean storesIn(int index)
          Tests whether this spawnable call stores in variables with index index.
 String toString()
          Returns a string representation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

exceptionsHandled

public boolean exceptionsHandled()
Tests whether exceptions are handled for this spawnable call.

Returns:
true if exceptions are handled; false otherwise.

resultIsStored

public boolean resultIsStored()
Tests whether the result for this spawnable call is stored with a store instruction.

Returns:
true if the result is stored; false otherwise.

getIndicesStores

public Integer[] getIndicesStores()
Returns the indices in which the spawnable call stores. This can be multiple indices when dealing with an exception.

Returns:
The indices in which the spawnable call stores.

getInvokeInstruction

public org.apache.bcel.generic.InstructionHandle getInvokeInstruction()
Returns the invoke instruction of the spawnable call.

Returns:
The invoke instruction of the spawnable call.

storesIn

public boolean storesIn(int index)
Tests whether this spawnable call stores in variables with index index.

Parameters:
index - The index which is tested.
Returns:
true if the spawnable call stores in a variable with index index; false otherwise.

getObjectReference

public org.apache.bcel.generic.InstructionHandle getObjectReference()
Returns the object reference of the spawnable call.

Returns:
The object reference of the spawnable call.

toString

public String toString()
Returns a string representation.

Overrides:
toString in class Object


The Ibis project