com.feilong.lib.ognl.enhance.OrderedReturn Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of feilong Show documentation
Show all versions of feilong Show documentation
feilong is a suite of core and expanded libraries that include utility classes, http, excel,cvs, io classes, and much much more.
package com.feilong.lib.ognl.enhance;
import com.feilong.lib.ognl.Node;
/**
* Marks an ognl expression {@link 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.
*/
public interface OrderedReturn{
/**
* Get the core expression to execute first before any return foo logic is started.
*
* @return The core standalone expression that shouldn't be pre-pended with a return keyword.
*/
String getCoreExpression();
/**
* Gets the last expression to be pre-pended with a return <expression> block.
*
* @return The expression representing the return portion of a statement;
*/
String getLastExpression();
}