Class ResolvedLambdaConstraintType
java.lang.Object
com.github.javaparser.resolution.types.ResolvedLambdaConstraintType
- All Implemented Interfaces:
ResolvedType
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResolvedLambdaConstraintTypebound(ResolvedType bound) describe()getBound()booleanisAssignableBy(ResolvedType other) This method checks if ThisType t = new OtherType() would compile.booleanIs this a lambda constraint type?toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ResolvedType
arrayLevel, asArrayType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asUnionType, asWildcard, erasure, isArray, isInferenceVariable, isNull, isNumericType, isPrimitive, isReference, isReferenceType, isTypeVariable, isUnionType, isVoid, isWildcard, mention, replaceTypeVariables, replaceTypeVariables, solveGenericTypes, toDescriptor
-
Field Details
-
bound
-
-
Constructor Details
-
ResolvedLambdaConstraintType
-
-
Method Details
-
describe
- Specified by:
describein interfaceResolvedType
-
getBound
-
isConstraint
public boolean isConstraint()Description copied from interface:ResolvedTypeIs this a lambda constraint type?- Specified by:
isConstraintin interfaceResolvedType
-
asConstraintType
- Specified by:
asConstraintTypein interfaceResolvedType
-
bound
-
isAssignableBy
Description copied from interface:ResolvedTypeThis method checks if ThisType t = new OtherType() would compile.- Specified by:
isAssignableByin interfaceResolvedType
-
toString
-