Modifier and Type | Method and Description |
---|---|
java.lang.String |
describe() |
boolean |
isAssignableBy(Type other)
This method checks if ThisType t = new OtherType() would compile.
|
boolean |
isVoid() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
arrayLevel, asArrayType, asConstraintType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asWildcard, isArray, isConstraint, isNull, isPrimitive, isReference, isReferenceType, isTypeVariable, isWildcard, replaceTypeVariables, replaceTypeVariables
public static final Type INSTANCE
public boolean isAssignableBy(Type other)
Type
isAssignableBy
in interface Type