Class TypeInferenceCache
java.lang.Object
com.github.javaparser.symbolsolver.resolution.typeinference.TypeInferenceCache
- Author:
- Federico Tomassetti
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddRecord(com.github.javaparser.resolution.TypeSolver typeSolver, com.github.javaparser.ast.expr.LambdaExpr lambdaExpr, String paramName, com.github.javaparser.resolution.types.ResolvedType type) static voidrecordInferenceVariables(com.github.javaparser.resolution.TypeSolver typeSolver, com.github.javaparser.ast.expr.LambdaExpr lambdaExpr, List<InferenceVariable> _inferenceVariables) static Optional<com.github.javaparser.resolution.types.ResolvedType> retrieve(com.github.javaparser.resolution.TypeSolver typeSolver, com.github.javaparser.ast.expr.LambdaExpr lambdaExpr, String paramName) static Optional<List<InferenceVariable>> retrieveInferenceVariables(com.github.javaparser.resolution.TypeSolver typeSolver, com.github.javaparser.ast.expr.LambdaExpr lambdaExpr)
-
Constructor Details
-
TypeInferenceCache
public TypeInferenceCache()
-
-
Method Details
-
addRecord
public static void addRecord(com.github.javaparser.resolution.TypeSolver typeSolver, com.github.javaparser.ast.expr.LambdaExpr lambdaExpr, String paramName, com.github.javaparser.resolution.types.ResolvedType type) -
retrieve
-
recordInferenceVariables
public static void recordInferenceVariables(com.github.javaparser.resolution.TypeSolver typeSolver, com.github.javaparser.ast.expr.LambdaExpr lambdaExpr, List<InferenceVariable> _inferenceVariables) -
retrieveInferenceVariables
public static Optional<List<InferenceVariable>> retrieveInferenceVariables(com.github.javaparser.resolution.TypeSolver typeSolver, com.github.javaparser.ast.expr.LambdaExpr lambdaExpr)
-