Class InferenceContext
- java.lang.Object
-
- com.github.javaparser.resolution.logic.InferenceContext
-
public class InferenceContext extends Object
- Author:
- Federico Tomassetti
-
-
Constructor Summary
Constructors Constructor Description InferenceContext(TypeSolver typeSolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResolvedType
addPair(ResolvedType target, ResolvedType actual)
ResolvedType
addSingle(ResolvedType actual)
ResolvedType
resolve(ResolvedType type)
-
-
-
Constructor Detail
-
InferenceContext
public InferenceContext(TypeSolver typeSolver)
-
-
Method Detail
-
addPair
public ResolvedType addPair(ResolvedType target, ResolvedType actual)
- Returns:
- the actual with the inference variable inserted
-
addSingle
public ResolvedType addSingle(ResolvedType actual)
-
resolve
public ResolvedType resolve(ResolvedType type)
-
-