}
ResolvedType collectionElementType = collectionElementType(type);
String elementTypeName = typeName(collectionElementType);
String qualifiedElementTypeName = simpleQualifiedTypeName(collectionElementType);
if (!isBaseType(elementTypeName)) {
return Option.apply(new ModelRef(null,
Option.apply(elementTypeName), Option.apply(qualifiedElementTypeName)));
} else {
return Option.apply(new ModelRef(elementTypeName,
Option.<String>empty(), Option.apply(qualifiedElementTypeName)));
}
}