Note that an inner class type enclosed in a parameterized type or in a type
annotated with a type annotation is represented as ParameterizedType,
where the enclosing type is represented as the parameterized type's owner.
| Modifier and Type | Class and Description |
|---|---|
| public static class | ClassType.Builder
Convenient builder for |
| Modifier and Type | Field and Description |
|---|---|
| public static final ClassType |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ClassType | asClassType()
Overrides org. org. and returns it if the kind is Kind#CLASS.
|
| public static ClassType. | |
| public static ClassType. | |
| pack-priv Type | |
| public static ClassType | |
| public static ClassType | |
| public static ClassType | |
| public Type. | |
| pack-priv ParameterizedType |
| OBJECT_TYPE | back to summary |
|---|---|
| public static final ClassType OBJECT_TYPE | |
| ClassType | back to summary |
|---|---|
| pack-priv ClassType(DotName name) | |
| ClassType | back to summary |
|---|---|
| pack-priv ClassType(DotName name, AnnotationInstance[] annotations) | |
| asClassType | back to summary |
|---|---|
| public ClassType asClassType() Overrides org. Doc from org. Casts this type to a | |
| builder | back to summary |
|---|---|
| public static ClassType. Create a builder of a class type with the given | |
| builder | back to summary |
|---|---|
| public static ClassType. Create a builder of a class type for the given class. | |
| copyType | back to summary |
|---|---|
| pack-priv Type copyType(AnnotationInstance[] newAnnotations) Implements abstract org.
| |
| create | back to summary |
|---|---|
| public static ClassType create(DotName name) Create an instance of a class type with given
Note that an inner class type enclosed in a parameterized type or in a type
annotated with a type annotation is represented as | |
| create | back to summary |
|---|---|
| public static ClassType create(String name) Create an instance of a class type with given
Note that an inner class type enclosed in a parameterized type or in a type
annotated with a type annotation is represented as | |
| create | back to summary |
|---|---|
| public static ClassType create(Class<?> clazz) Create an instance of a class type for given
Note that an inner class type enclosed in a parameterized type or in a type
annotated with a type annotation is represented as | |
| kind | back to summary |
|---|---|
| public Type. Implements abstract org. Doc from org. Returns the kind of Type this is. | |
| toParameterizedType | back to summary |
|---|---|
| pack-priv ParameterizedType toParameterizedType() | |
ClassType.
| Modifier and Type | Method and Description |
|---|---|
| public ClassType |
| Builder | back to summary |
|---|---|
| pack-priv Builder(DotName name) | |
| build | back to summary |
|---|---|
| public ClassType build() Returns the built class type.
| |