Package ognl.enhance

Interface OrderedReturn

  • All Known Implementing Classes:
    ASTChain, ASTMethod, ASTRootVarRef, ASTSequence, ASTThisVarRef, ASTVarRef

    public interface OrderedReturn
    Marks an ognl expression Node as needing to have the return portion of a getter method happen in a specific part of the generated expression vs just having the whole expression returned in one chunk.
    • Method Detail

      • getCoreExpression

        java.lang.String getCoreExpression()
        Get the core expression to execute first before any return foo logic is started.
        Returns:
        The core standalone expression that shouldn't be pre-pended with a return keyword.
      • getLastExpression

        java.lang.String getLastExpression()
        Gets the last expression to be pre-pended with a return <expression> block.
        Returns:
        The expression representing the return portion of a statement;