Class JTypes
java.lang.Object
org.jboss.jdeparser.JTypes
The factory for generating simple types.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final ThreadLocal<LinkedHashMap<String, JType>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JTypeReturn the type corresponding to the given class.static JTypeReturn a type corresponding to a class with the given name.static JTypeReturn the erased type of a class definition.static JTypeReturn a type corresponding to a class with the given name.static JTypeReturn the type corresponding to the given class.static JTypetypeOf(TypeMirror typeMirror) Get aJTypethat corresponds to the givenTypeMirrorfor annotation processors.static JTypeReturn the erased type of a class definition.
-
Field Details
-
cache
-
-
Constructor Details
-
JTypes
private JTypes()
-
-
Method Details
-
$t
-
$t
-
$t
-
typeOf
-
typeOf
-
typeNamed
-
typeOf
Get aJTypethat corresponds to the givenTypeMirrorfor annotation processors.- Parameters:
typeMirror- the type mirror- Returns:
- the
JType
-