Example usage for Java javax.lang.model.util Types fields, constructors, methods, implement or subclass
The text is from its open source code.
Element | asElement(TypeMirror t) Returns the element corresponding to a type. |
TypeMirror | erasure(TypeMirror t) Returns the erasure of a type. |
DeclaredType | getDeclaredType(TypeElement typeElem, TypeMirror... typeArgs) Returns the type corresponding to a type element and actual type arguments. |
PrimitiveType | getPrimitiveType(TypeKind kind) Returns a primitive type. |
WildcardType | getWildcardType(TypeMirror extendsBound, TypeMirror superBound) Returns a new wildcard type argument. |
boolean | isAssignable(TypeMirror t1, TypeMirror t2) Tests whether one type is assignable to another. |
boolean | isSubtype(TypeMirror t1, TypeMirror t2) Tests whether one type is a subtype of another. |