public class ResolvedLambdaConstraintType extends Object implements ResolvedType
| Modifier and Type | Method and Description |
|---|---|
ResolvedLambdaConstraintType |
asConstraintType() |
static ResolvedLambdaConstraintType |
bound(ResolvedType bound) |
String |
describe() |
ResolvedType |
getBound() |
boolean |
isAssignableBy(ResolvedType other)
This method checks if ThisType t = new OtherType() would compile.
|
boolean |
isConstraint()
Is this a lambda constraint type?
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitarrayLevel, asArrayType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asWildcard, isArray, isNull, isPrimitive, isReference, isReferenceType, isTypeVariable, isVoid, isWildcard, mention, replaceTypeVariables, replaceTypeVariablespublic String describe()
describe in interface ResolvedTypepublic ResolvedType getBound()
public boolean isConstraint()
ResolvedTypeisConstraint in interface ResolvedTypepublic ResolvedLambdaConstraintType asConstraintType()
asConstraintType in interface ResolvedTypepublic static ResolvedLambdaConstraintType bound(ResolvedType bound)
public boolean isAssignableBy(ResolvedType other)
ResolvedTypeisAssignableBy in interface ResolvedTypeCopyright © 2007–2017. All rights reserved.