Package org.apache.commons.ognl.enhance
Interface OrderedReturn
-
- All Known Implementing Classes:
ASTChain
,ASTMethod
,ASTRootVarRef
,ASTSequence
,ASTThisVarRef
,ASTVarRef
public interface OrderedReturn
Marks an ognl expressionNode
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCoreExpression()
Get the core expression to execute first before any return foo logic is started.String
getLastExpression()
Gets the last expression to be pre-pended with a return <expression> block.
-
-
-
Method Detail
-
getCoreExpression
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
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;
-
-