| Package | Description |
|---|---|
| net.sourceforge.pmd.lang.java.typeresolution | |
| net.sourceforge.pmd.lang.java.typeresolution.typeinference |
| Modifier and Type | Method and Description |
|---|---|
static void |
MethodTypeResolution.produceInitialBounds(java.lang.reflect.Method method,
JavaTypeDefinition context,
java.util.List<Variable> variables,
java.util.List<Bound> initialBounds) |
static java.util.List<Constraint> |
MethodTypeResolution.produceInitialConstraints(java.lang.reflect.Method method,
ASTArgumentList argList,
java.util.List<Variable> variables) |
| Modifier and Type | Method and Description |
|---|---|
Variable |
BoundOrConstraint.getLeftMentionedVariable() |
Variable |
BoundOrConstraint.getRightMentionedVariable() |
Variable |
BoundOrConstraint.leftVariable() |
Variable |
BoundOrConstraint.rightVariable() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<Variable,JavaTypeDefinition> |
TypeInferenceResolver.getInstantiations(java.util.List<Bound> bounds) |
static java.util.Set<Variable> |
TypeInferenceResolver.getMentionedVariables(java.util.List<Bound> bounds) |
static java.util.Set<Variable> |
TypeInferenceResolver.getUninstantiatedVariables(java.util.List<Bound> bounds) |
static java.util.Map<Variable,java.util.Set<Variable>> |
TypeInferenceResolver.getVariableDependencies(java.util.List<Bound> bounds) |
static java.util.Map<Variable,java.util.Set<Variable>> |
TypeInferenceResolver.getVariableDependencies(java.util.List<Bound> bounds) |
static java.util.Map<Variable,JavaTypeDefinition> |
TypeInferenceResolver.resolveVariables(java.util.List<Bound> bounds)
Resolve unresolved variables in a list of bounds.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
TypeInferenceResolver.boundsHaveAnEqualityBetween(java.util.List<Variable> firstList,
Variable second,
java.util.List<Bound> bounds) |
static java.util.List<JavaTypeDefinition> |
TypeInferenceResolver.getLowerBoundsOf(Variable var,
java.util.List<Bound> bounds) |
| Modifier and Type | Method and Description |
|---|---|
void |
BoundOrConstraint.addVariablesToSet(java.util.Set<Variable> variables) |
static boolean |
TypeInferenceResolver.boundsHaveAnEqualityBetween(java.util.List<Variable> firstList,
Variable second,
java.util.List<Bound> bounds) |
static java.util.List<JavaTypeDefinition> |
TypeInferenceResolver.inferTypes(java.util.List<Constraint> constraints,
java.util.List<Bound> bounds,
java.util.List<Variable> variables) |
static boolean |
TypeInferenceResolver.isProperSubsetOfVariables(java.util.List<Variable> variables,
java.util.Map<Variable,JavaTypeDefinition> instantiations,
java.util.Map<Variable,java.util.Set<Variable>> dependencies,
java.util.List<Bound> bounds)
Given a set of inference variables to resolve, let V be the union of this set and all variables upon which
the resolution of at least one variable in this set depends.
|
static boolean |
TypeInferenceResolver.isProperSubsetOfVariables(java.util.List<Variable> variables,
java.util.Map<Variable,JavaTypeDefinition> instantiations,
java.util.Map<Variable,java.util.Set<Variable>> dependencies,
java.util.List<Bound> bounds)
Given a set of inference variables to resolve, let V be the union of this set and all variables upon which
the resolution of at least one variable in this set depends.
|
static boolean |
TypeInferenceResolver.isProperSubsetOfVariables(java.util.List<Variable> variables,
java.util.Map<Variable,JavaTypeDefinition> instantiations,
java.util.Map<Variable,java.util.Set<Variable>> dependencies,
java.util.List<Bound> bounds)
Given a set of inference variables to resolve, let V be the union of this set and all variables upon which
the resolution of at least one variable in this set depends.
|
static boolean |
TypeInferenceResolver.isProperSubsetOfVariables(java.util.List<Variable> variables,
java.util.Map<Variable,JavaTypeDefinition> instantiations,
java.util.Map<Variable,java.util.Set<Variable>> dependencies,
java.util.List<Bound> bounds)
Given a set of inference variables to resolve, let V be the union of this set and all variables upon which
the resolution of at least one variable in this set depends.
|
Copyright © 2002–2017 PMD. All rights reserved.