| Interface | Description |
|---|---|
| TypeArg |
Type argument.
|
| Class | Description |
|---|---|
| ArrayType<T> |
Array type.
|
| ClassType<T> |
Class or interface type.
|
| IntersectionType<T> |
Intersection type.
|
| JavaType<T> |
Any Java type.
|
| NullType |
The null type.
|
| PrimitiveType<T> |
Primitive type.
|
| ReferenceType<T> |
Reference type.
|
| TypeMath |
Containing some algorithms of Java types.
|
| TypeVar<T> |
Type variable.
|
| Wildcard |
Wildcard.
|
The official java.lang.reflect.Type hierarchy is a messy representation
of Java types.
This package provides a better representation
that is aligned with the language specification.
See JavaType.
Use JavaType.convertFrom(java.lang.reflect.Type) for conversion.
This package also include some type algorithms (e.g. subtyping) in TypeMath.