} else {
collectionIndex = new ExpressionCollectionIndex("get", "java.lang.Object",
SuggestionCompletionEngine.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", SuggestionCompletionEngine.TYPE_NUMERIC));
index.appendPart(new ExpressionText("-1"));
collectionIndex.putParam("index", index);
expression.appendPart(collectionIndex);
}
}