| Constructor and Description |
|---|
LambdaConstraintType(Type bound) |
| Modifier and Type | Method and Description |
|---|---|
LambdaConstraintType |
asConstraintType() |
static LambdaConstraintType |
bound(Type bound) |
java.lang.String |
describe() |
Type |
getBound() |
boolean |
isAssignableBy(Type other)
This method checks if ThisType t = new OtherType() would compile.
|
boolean |
isConstraint()
Is this a lambda constraint type?
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitarrayLevel, asArrayType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asWildcard, isArray, isNull, isPrimitive, isReference, isReferenceType, isTypeVariable, isVoid, isWildcard, replaceTypeVariables, replaceTypeVariablespublic LambdaConstraintType(Type bound)
public Type getBound()
public boolean isConstraint()
TypeisConstraint in interface Typepublic LambdaConstraintType asConstraintType()
asConstraintType in interface Typepublic static LambdaConstraintType bound(Type bound)
public boolean isAssignableBy(Type other)
TypeisAssignableBy in interface Type