Class ResolvedLambdaConstraintType
- java.lang.Object
-
- com.github.javaparser.resolution.types.ResolvedLambdaConstraintType
-
- All Implemented Interfaces:
ResolvedType
public class ResolvedLambdaConstraintType extends Object implements ResolvedType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.javaparser.resolution.types.ResolvedType
arrayLevel, asArrayType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asUnionType, asWildcard, isArray, isNull, isPrimitive, isReference, isReferenceType, isTypeVariable, isUnionType, isVoid, isWildcard, mention, replaceTypeVariables, replaceTypeVariables
-
-
-
-
Method Detail
-
describe
public String describe()
- Specified by:
describe
in interfaceResolvedType
-
getBound
public ResolvedType getBound()
-
isConstraint
public boolean isConstraint()
Description copied from interface:ResolvedType
Is this a lambda constraint type?- Specified by:
isConstraint
in interfaceResolvedType
-
asConstraintType
public ResolvedLambdaConstraintType asConstraintType()
- Specified by:
asConstraintType
in interfaceResolvedType
-
bound
public static ResolvedLambdaConstraintType bound(ResolvedType bound)
-
isAssignableBy
public boolean isAssignableBy(ResolvedType other)
Description copied from interface:ResolvedType
This method checks if ThisType t = new OtherType() would compile.- Specified by:
isAssignableBy
in interfaceResolvedType
-
-