All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.feilong.lib.ognl.enhance.OrderedReturn Maven / Gradle / Ivy

Go to download

feilong is a suite of core and expanded libraries that include utility classes, http, excel,cvs, io classes, and much much more.

There is a newer version: 4.0.8
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy