Class InterpreterBase.Funcall

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected JexlMethod me
      The JexlMethod to delegate the call to.
      protected boolean narrow
      Whether narrow should be applied to arguments.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Funcall​(JexlMethod jme, boolean flag)
      Constructs a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object tryInvoke​(InterpreterBase ii, java.lang.String name, java.lang.Object target, java.lang.Object[] args)
      Try invocation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • narrow

        protected final boolean narrow
        Whether narrow should be applied to arguments.
      • me

        protected final JexlMethod me
        The JexlMethod to delegate the call to.
    • Constructor Detail

      • Funcall

        protected Funcall​(JexlMethod jme,
                          boolean flag)
        Constructs a new instance.
        Parameters:
        jme - the method
        flag - the narrow flag
    • Method Detail

      • tryInvoke

        protected java.lang.Object tryInvoke​(InterpreterBase ii,
                                             java.lang.String name,
                                             java.lang.Object target,
                                             java.lang.Object[] args)
        Try invocation.
        Parameters:
        ii - the interpreter
        name - the method name
        target - the method target
        args - the method arguments
        Returns:
        the method invocation result (or JexlEngine.TRY_FAILED)