public boolean isSupported(int feature) {
return feature == FEATURE_FUNCTION;
}
public Expression parseExpression(XelContext xelc, String expression,
Class expectedType)
<BUG>throws XelException {
try {</BUG>
return new ELXelExpression(
_eval.parseExpression(expression, expectedType,
<BUG>xelc != null ? new XelELMapper(xelc.getFunctionMapper()): null));
} catch (ELException ex) {</BUG>
throw new XelException("Failed to parse "+expression, ex);

public boolean isSupported(int feature) {
return feature == FEATURE_FUNCTION;
}
public Expression parseExpression(XelContext xelc, String expression,
Class expectedType)
throws XelException {
FunctionMapper mapper = xelc != null ? xelc.getFunctionMapper(): null;
try {
return new ELXelExpression(
_eval.parseExpression(expression, expectedType,
mapper != null ? new XelELMapper(mapper): null),
expression, mapper, expectedType);
} catch (ELException ex) {
throw new XelException("Failed to parse "+expression, ex);
