Interface IInvokableFeatureReference<R,T>

All Superinterfaces:
IFeatureReference<R,T>
All Known Subinterfaces:
IConstructorReference<R,T>, IMethodReference<R,T>
All Known Implementing Classes:
BoundMethodReference, ConstructorReference, MethodReference

public interface IInvokableFeatureReference<R,T> extends IFeatureReference<R,T>
  • Method Details

    • evaluate

      Object evaluate(Object... args)
      Evaluates reflectively
    • getInvoke

      T getInvoke()
      Returns the method reference as a block in an invocation-friendly syntax
    • toBlock

      T toBlock()
      Returns the method reference as a block in a transformation-friendly syntax
    • getBoundArgValues

      Object[] getBoundArgValues()
      Returns:
      an array of bound values if the feature had them, and null otherwise