| Package | Description |
|---|---|
| com.github.javaparser.symbolsolver.resolution.typeinference | |
| com.github.javaparser.symbolsolver.resolution.typeinference.bounds |
| Modifier and Type | Method and Description |
|---|---|
InferenceVariable |
ProperUpperBound.getInferenceVariable() |
InferenceVariable |
ProperLowerBound.getInferenceVariable() |
InferenceVariable |
Instantiation.getInferenceVariable() |
static InferenceVariable |
InferenceVariable.unnamed(ResolvedTypeParameterDeclaration typeParameterDeclaration) |
| Modifier and Type | Method and Description |
|---|---|
static List<InferenceVariable> |
InferenceVariable.instantiate(List<ResolvedTypeParameterDeclaration> typeParameterDeclarations) |
static Optional<List<InferenceVariable>> |
TypeInferenceCache.retrieveInferenceVariables(TypeSolver typeSolver,
LambdaExpr lambdaExpr) |
abstract Set<InferenceVariable> |
Bound.usedInferenceVariables() |
static Set<InferenceVariable> |
TypeHelper.usedInferenceVariables(ResolvedType type) |
| Modifier and Type | Method and Description |
|---|---|
List<Bound> |
BoundSet.getProperUpperBoundsFor(InferenceVariable inferenceVariable) |
InferenceVariableSubstitution |
InferenceVariableSubstitution.withPair(InferenceVariable inferenceVariable,
ResolvedType type) |
| Modifier and Type | Method and Description |
|---|---|
Optional<InstantiationSet> |
BoundSet.performResolution(List<InferenceVariable> variablesToResolve,
TypeSolver typeSolver)
Examines the bounds on an inference variable and determines an instantiation that is compatible with those
bounds.
|
static void |
TypeInferenceCache.recordInferenceVariables(TypeSolver typeSolver,
LambdaExpr lambdaExpr,
List<InferenceVariable> _inferenceVariables) |
| Constructor and Description |
|---|
Instantiation(InferenceVariable inferenceVariable,
ResolvedType properType) |
ProperLowerBound(InferenceVariable inferenceVariable,
ResolvedType properType) |
ProperUpperBound(InferenceVariable inferenceVariable,
ResolvedType properType) |
| Modifier and Type | Method and Description |
|---|---|
List<InferenceVariable> |
CapturesBound.getInferenceVariables() |
Set<InferenceVariable> |
ThrowsBound.usedInferenceVariables() |
Set<InferenceVariable> |
SubtypeOfBound.usedInferenceVariables() |
Set<InferenceVariable> |
SameAsBound.usedInferenceVariables() |
Set<InferenceVariable> |
FalseBound.usedInferenceVariables() |
Set<InferenceVariable> |
CapturesBound.usedInferenceVariables() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ThrowsBound.isThrowsBoundOn(InferenceVariable inferenceVariable) |
| Constructor and Description |
|---|
ThrowsBound(InferenceVariable inferenceVariable) |
| Constructor and Description |
|---|
CapturesBound(List<InferenceVariable> inferenceVariables,
List<ResolvedType> typesOrWildcards) |
Copyright © 2007–2024. All rights reserved.