public class CapturesBound extends Bound
| Constructor and Description |
|---|
CapturesBound(java.util.List<InferenceVariable> inferenceVariables,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> typesOrWildcards) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<InferenceVariable> |
getInferenceVariables() |
java.util.List<com.github.javaparser.resolution.types.ResolvedType> |
getTypesOrWildcards() |
int |
hashCode() |
boolean |
isSatisfied(InferenceVariableSubstitution inferenceVariableSubstitution)
A bound is satisfied by an inference variable substitution if, after applying the substitution,
the assertion is true.
|
java.lang.String |
toString() |
java.util.Set<InferenceVariable> |
usedInferenceVariables() |
isADependency, isAnInstantiation, isProperLowerBound, isProperUpperBoundpublic CapturesBound(java.util.List<InferenceVariable> inferenceVariables, java.util.List<com.github.javaparser.resolution.types.ResolvedType> typesOrWildcards)
public boolean isSatisfied(InferenceVariableSubstitution inferenceVariableSubstitution)
BoundisSatisfied in class Boundpublic java.util.Set<InferenceVariable> usedInferenceVariables()
usedInferenceVariables in class Boundpublic java.util.List<InferenceVariable> getInferenceVariables()
public java.util.List<com.github.javaparser.resolution.types.ResolvedType> getTypesOrWildcards()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object