final ExpressionFormLine expression,
final String expressionPart ) {
if ( currentField == null ) {
boolean isMethod = currentMethodInfo != null;
if ( isMethod ) {
final ExpressionMethod em = new ExpressionMethod( currentMethodInfo.getName(),
currentMethodInfo.getReturnClassType(),
currentMethodInfo.getGenericType(),
currentMethodInfo.getParametricReturnType() );
//Add applicable parameter values
final List<String> parameters = parseExpressionParameters( expressionPart );
for ( int index = 0; index < currentMethodInfo.getParams().size(); index++ ) {
final String paramDataType = currentMethodInfo.getParams().get( index );
final String paramValue = getParameterValue( paramDataType,
parameters,
index );
if ( paramValue != null ) {
final ExpressionFormLine param = new ExpressionFormLine( index );
param.appendPart( new ExpressionMethodParameter( paramValue,
paramDataType,
paramDataType ) );
em.putParam( paramDataType,
param );
}
}
expression.appendPart( em );
} else {