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, wait
arrayLevel, asArrayType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asUnionType, asWildcard, isArray, isNull, isPrimitive, isReference, isReferenceType, isTypeVariable, isUnionType, isVoid, isWildcard, mention, replaceTypeVariables, replaceTypeVariables
public String describe()
describe
in interface ResolvedType
public ResolvedType getBound()
public boolean isConstraint()
ResolvedType
isConstraint
in interface ResolvedType
public ResolvedLambdaConstraintType asConstraintType()
asConstraintType
in interface ResolvedType
public static ResolvedLambdaConstraintType bound(ResolvedType bound)
public boolean isAssignableBy(ResolvedType other)
ResolvedType
isAssignableBy
in interface ResolvedType
Copyright © 2007–2018. All rights reserved.