private static final Type SET_TYPE = typeForClass(Set.class);\r
private static final Type LIST_TYPE = typeForClass(List.class);\r
private static final Type MAP_TYPE = typeForClass(Map.class);\r
- \r
public static final Type DATA_OBJECT = typeForClass(DataObject.class);\r
- \r
- private Types() {\r
- }\r
\r
public static ConcreteType voidType() {\r
return new ConcreteTypeImpl(Void.class.getPackage().getName(),\r
Void.class.getSimpleName());\r
}\r
\r
+ public static final Type primitiveType(final String primitiveType) {\r
+ return new ConcreteTypeImpl("", primitiveType);\r
+ }\r
+\r
+\r
/**\r
* Returns an instance of {@link ConcreteType} describing the class\r
* \r