* the element data type
* @return a collection data type
*/
protected CollectionType createCollectionType(String className,
DeclaredType declaredType, DataType elementType) {
String typeName = declaredType.toString();
if (List.equals(className)) {
return new ListType(className, typeName, elementType);
}
if (ArrayList.equals(className)) {
return new ArrayListType(className, typeName, elementType);