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, wait
arrayLevel, asArrayType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asWildcard, isArray, isNull, isPrimitive, isReference, isReferenceType, isTypeVariable, isVoid, isWildcard, replaceTypeVariables, replaceTypeVariables
public LambdaConstraintType(Type bound)
public Type getBound()
public boolean isConstraint()
Type
isConstraint
in interface Type
public LambdaConstraintType asConstraintType()
asConstraintType
in interface Type
public static LambdaConstraintType bound(Type bound)
public boolean isAssignableBy(Type other)
Type
isAssignableBy
in interface Type