Class CapturesBound
java.lang.Object
com.github.javaparser.symbolsolver.resolution.typeinference.Bound
com.github.javaparser.symbolsolver.resolution.typeinference.bounds.CapturesBound
Capture(G<A1, ..., An>): The variables α1, ..., αn represent the result of capture conversion (§5.1.10)
applied to G<A1, ..., An> (where A1, ..., An may be types or wildcards and may mention inference variables).
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCapturesBound(List<InferenceVariable> inferenceVariables, List<ResolvedType> typesOrWildcards) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanisSatisfied(InferenceVariableSubstitution inferenceVariableSubstitution) A bound is satisfied by an inference variable substitution if, after applying the substitution, the assertion is true.toString()Other methodsMethods inherited from class Bound
isADependency, isAnInstantiation, isProperLowerBound, isProperUpperBound
-
Field Details
-
inferenceVariables
-
typesOrWildcards
-
-
Constructor Details
-
CapturesBound
public CapturesBound(List<InferenceVariable> inferenceVariables, List<ResolvedType> typesOrWildcards)
-
-
Method Details
-
isSatisfied
Description copied from class:BoundA bound is satisfied by an inference variable substitution if, after applying the substitution, the assertion is true.- Specified by:
isSatisfiedin classBound
-
usedInferenceVariables
Description copied from class:BoundOther methods- Specified by:
usedInferenceVariablesin classBound
-
getInferenceVariables
-
getTypesOrWildcards
-
equals
-
hashCode
-
toString
-