| 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, waitarrayLevel, asArrayType, asConstraintType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asWildcard, isArray, isConstraint, isNull, isPrimitive, isReference, isReferenceType, isTypeVariable, isWildcard, replaceTypeVariables, replaceTypeVariablespublic static final Type INSTANCE
public boolean isAssignableBy(Type other)
TypeisAssignableBy in interface Type