Interface IFunctorCall

All Known Implementing Classes:
FunctorCall

public interface IFunctorCall
An object representing the actual call of an IFunctor. This may be used to transport call context and state such as arguments etc.
  • Method Summary

    Modifier and Type
    Method
    Description
    The arguments currently associated with the call.
    The receiver for the behavior implemented.
    void
    setArgs(IArgs args)
    Assign an argument list for the call.
    void
    setReceiver(Object receiver)
    Assign a new receiver.
  • Method Details

    • getArgs

      IArgs getArgs()
      The arguments currently associated with the call.
      Returns:
      The arguments currently associated with the call.
    • getReceiver

      Object getReceiver()
      The receiver for the behavior implemented.
      Returns:
      The receiver for the behavior implemented.
    • setArgs

      void setArgs(IArgs args)
      Assign an argument list for the call.

      This is for example useful when handling with declarations modifying the original functor call.

    • setReceiver

      void setReceiver(Object receiver)
      Assign a new receiver.
      Parameters:
      receiver - The new receiver