Class ResolvedLambdaConstraintType
java.lang.Object
com.github.javaparser.resolution.types.ResolvedLambdaConstraintType
- All Implemented Interfaces:
ResolvedType
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResolvedLambdaConstraintType
bound(ResolvedType bound)
describe()
getBound()
boolean
isAssignableBy(ResolvedType other)
This method checks if ThisType t = new OtherType() would compile.boolean
Is this a lambda constraint type?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, erasure, isArray, isInferenceVariable, isNull, isNumericType, isPrimitive, isReference, isReferenceType, isTypeVariable, isUnionType, isVoid, isWildcard, mention, replaceTypeVariables, replaceTypeVariables
-
Method Details
-
describe
- Specified by:
describe
in interfaceResolvedType
-
getBound
-
isConstraint
public boolean isConstraint()Description copied from interface:ResolvedType
Is this a lambda constraint type?- Specified by:
isConstraint
in interfaceResolvedType
-
asConstraintType
- Specified by:
asConstraintType
in interfaceResolvedType
-
bound
-
isAssignableBy
Description copied from interface:ResolvedType
This method checks if ThisType t = new OtherType() would compile.- Specified by:
isAssignableBy
in interfaceResolvedType
-
toString
-