public <T> T evaluateMethodExpression(String expression, Class<T> expectedReturnType) {
    """
	<p>
	Evaluate a {@link MethodExpression} with no parameters.
	</p>
	<p/>
	<p>
	A {@link MethodExpression} is created by calling
	{@link ExpressionFactory#createMethodExpression(ELContext, String, Class, Class[])} and then
	{@link MethodExpression#invoke(ELContext, Object[])} is called to obtain the value. For more details on the
	semantics of EL, refer to the javadoc for these methods.
	</p>
	
	@param <T> the type of the evaluated expression
	@param expression expression the expression to evaluate
	@param expectedReturnType the expected return type of the evaluated expression
	@return the result of evaluating the expression
	@throws ClassCastException if the result cannot be cast to <code>expectedReturnType</code>
	@throws ELException if there are syntactical errors in the provided expression.
	@throws NullPointerException if <code>expectedParamTypes</code> is <code>null</code>.
	@throws PropertyNotFoundException if one of the property resolutions failed because a specified variable or
	property does not exist or is not readable.
	@throws MethodNotFoundException if no suitable method can be found.
	@throws ELException if a String literal is specified and expectedReturnType of the MethodExpression is void or if
	the coercion of the String literal to the expectedReturnType yields an error (see Section
	"1.18 Type Conversion").
	@throws ELException if an exception was thrown while performing property or variable resolution. The thrown
	exception must be included as the cause property of this exception, if available. If the exception
	thrown is an <code>InvocationTargetException</code>, extract its <code>cause</code> and pass it to the
	<code>ELException</code> constructor.
	@see MethodExpression#invoke(ELContext, Object[])
	@see ExpressionFactory#createMethodExpression(ELContext, String, Class, Class[])
    """
      return evaluateMethodExpression(expression, expectedReturnType, new Object[0], new Class[0]);
   }
public <T> T evaluateMethodExpression(String expression, Class<T> expectedReturnType)
   {
      return evaluateMethodExpression(expression, expectedReturnType, new Object[0], new Class[0]);
   }
public < T > T evaluateMethodExpression ( String expression , Class < T > expectedReturnType ) { return evaluateMethodExpression ( expression , expectedReturnType , new Object [ 0 ] , new Class [ 0 ] ) ; }
<p>
Evaluate a {@link MethodExpression} with no parameters.
</p>
<p/>
<p>
A {@link MethodExpression} is created by calling
{@link ExpressionFactory#createMethodExpression(ELContext, String, Class, Class[])} and then
{@link MethodExpression#invoke(ELContext, Object[])} is called to obtain the value. For more details on the
semantics of EL, refer to the javadoc for these methods.
</p>

@param <T> the type of the evaluated expression
@param expression expression the expression to evaluate
@param expectedReturnType the expected return type of the evaluated expression
@return the result of evaluating the expression
@throws ClassCastException if the result cannot be cast to <code>expectedReturnType</code>
@throws ELException if there are syntactical errors in the provided expression.
@throws NullPointerException if <code>expectedParamTypes</code> is <code>null</code>.
@throws PropertyNotFoundException if one of the property resolutions failed because a specified variable or
property does not exist or is not readable.
@throws MethodNotFoundException if no suitable method can be found.
@throws ELException if a String literal is specified and expectedReturnType of the MethodExpression is void or if
the coercion of the String literal to the expectedReturnType yields an error (see Section
"1.18 Type Conversion").
@throws ELException if an exception was thrown while performing property or variable resolution. The thrown
exception must be included as the cause property of this exception, if available. If the exception
thrown is an <code>InvocationTargetException</code>, extract its <code>cause</code> and pass it to the
<code>ELException</code> constructor.
@see MethodExpression#invoke(ELContext, Object[])
@see ExpressionFactory#createMethodExpression(ELContext, String, Class, Class[])
<p > Evaluate a { @link MethodExpression } with no parameters . < / p > <p / > <p > A { @link MethodExpression } is created by calling { @link ExpressionFactory#createMethodExpression ( ELContext String Class Class [] ) } and then { @link MethodExpression#invoke ( ELContext Object [] ) } is called to obtain the value . For more details on the semantics of EL refer to the javadoc for these methods . < / p >