"java.lang.Object",
DataType.TYPE_OBJECT );
}
if ( "first".equals( value ) ) {
collectionIndex.putParam( "index",
new ExpressionFormLine( new ExpressionText( "0" ) ) );
expression.appendPart( collectionIndex );
} else if ( "last".equals( value ) ) {
ExpressionFormLine index = new ExpressionFormLine( expression );
index.appendPart( new ExpressionMethod( "size",
"int",
DataType.TYPE_NUMERIC_INTEGER ) );
index.appendPart( new ExpressionText( "-1" ) );
collectionIndex.putParam( "index",
index );
expression.appendPart( collectionIndex );
}