String fieldGenericType = getCompletionEngine().getFieldType(prevFactName, attrib);
if (SuggestionCompletionEngine.TYPE_COLLECTION.equals(fieldGenericType)) {
String fieldParametricType = getCompletionEngine().getParametricFieldType(prevFactName, attrib);
expression.appendPart(new ExpressionCollection(attrib, fieldClassName, fieldGenericType, fieldParametricType));
} else {
expression.appendPart(new ExpressionField(attrib, fieldClassName, fieldGenericType));
}
} else if (METHOD_VALUE_PREFIX.equals(prefix)) {
MethodInfo mi = getCompletionEngine().getMethodinfo(prevFactName, attrib);
if (SuggestionCompletionEngine.TYPE_COLLECTION.equals(mi.getGenericType())) {
expression.appendPart(new ExpressionCollection(attrib, mi.getReturnClassType(), mi.getGenericType(), mi.getParametricReturnType()));