Home
last modified time | relevance | path

Searched defs:typeSolver (Results 1 – 25 of 250) sorted by relevance

12345678910

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/naming/
DNameLogicDisambiguationTest.java27 ParseStart parseStart, TypeSolver typeSolver) { in assertNameInCodeIsDisambiguited()
127 MemoryTypeSolver typeSolver = new MemoryTypeSolver(); in ambiguousNameToSingleStaticImportDeclaration() local
143 MemoryTypeSolver typeSolver = new MemoryTypeSolver(); in ambiguousNameToStaticImportOnDemandDeclaration() local
179 MemoryTypeSolver typeSolver = new MemoryTypeSolver(); in ambiguousNameInQualifiedNameRequalifiedAsPackageNameLeadingToType() local
211 MemoryTypeSolver typeSolver = new MemoryTypeSolver(); in ambiguousNameInQualifiedNameRequalifiedAsTypeNameLeadingToField() local
229 MemoryTypeSolver typeSolver = new MemoryTypeSolver(); in ambiguousNameInQualifiedNameRequalifiedAsTypeNameLeadingToMethod() local
246 MemoryTypeSolver typeSolver = new MemoryTypeSolver(); in ambiguousNameInQualifiedNameRequalifiedAsTypeNameLeadingToInternalType() local
264 MemoryTypeSolver typeSolver = new MemoryTypeSolver(); in ambiguousNameInQualifiedNameRequalifiedAsTypeNameLeadingToCompilationError() local
279 MemoryTypeSolver typeSolver = new MemoryTypeSolver(); in ambiguousNameInQualifiedNameRequalifiedAsExpressionName() local
301 MemoryTypeSolver typeSolver = new MemoryTypeSolver(); in packageOrTypeNameSimpleNameMatchingType() local
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DClassOrInterfaceDeclarationContext.java43 …lassOrInterfaceDeclarationContext(ClassOrInterfaceDeclaration wrappedNode, TypeSolver typeSolver) { in ClassOrInterfaceDeclarationContext()
54 …ublic SymbolReference<? extends ValueDeclaration> solveSymbol(String name, TypeSolver typeSolver) { in solveSymbol()
66 public Optional<Value> solveSymbolAsValue(String name, TypeSolver typeSolver) { in solveSymbolAsValue()
78 public Optional<Type> solveGenericType(String name, TypeSolver typeSolver) { in solveGenericType()
88 public SymbolReference<TypeDeclaration> solveType(String name, TypeSolver typeSolver) { in solveType()
93 …n> solveMethod(String name, List<Type> argumentsTypes, boolean staticOnly, TypeSolver typeSolver) { in solveMethod()
97 …erence<ConstructorDeclaration> solveConstructor(List<Type> argumentsTypes, TypeSolver typeSolver) { in solveConstructor()
DAbstractMethodLikeDeclarationContext.java29 public AbstractMethodLikeDeclarationContext(T wrappedNode, TypeSolver typeSolver) { in AbstractMethodLikeDeclarationContext()
33 …final SymbolReference<? extends ValueDeclaration> solveSymbol(String name, TypeSolver typeSolver) { in solveSymbol()
47 public final Optional<Type> solveGenericType(String name, TypeSolver typeSolver) { in solveGenericType()
57 public final Optional<Value> solveSymbolAsValue(String name, TypeSolver typeSolver) { in solveSymbolAsValue()
72 public final SymbolReference<TypeDeclaration> solveType(String name, TypeSolver typeSolver) { in solveType()
98 String name, List<Type> argumentsTypes, boolean staticOnly, TypeSolver typeSolver) { in solveMethod()
DStatementContext.java44 public StatementContext(N wrappedNode, TypeSolver typeSolver) { in StatementContext()
48 …olReference<? extends ValueDeclaration> solveInBlock(String name, TypeSolver typeSolver, Statement… in solveInBlock()
74 …public static Optional<Value> solveInBlockAsValue(String name, TypeSolver typeSolver, Statement st… in solveInBlockAsValue()
101 public Optional<Value> solveSymbolAsValue(String name, TypeSolver typeSolver) { in solveSymbolAsValue()
147 …ublic SymbolReference<? extends ValueDeclaration> solveSymbol(String name, TypeSolver typeSolver) { in solveSymbol()
192 …n> solveMethod(String name, List<Type> argumentsTypes, boolean staticOnly, TypeSolver typeSolver) { in solveMethod()
197 public SymbolReference<TypeDeclaration> solveType(String name, TypeSolver typeSolver) { in solveType()
DFieldAccessContext.java46 public FieldAccessContext(FieldAccessExpr wrappedNode, TypeSolver typeSolver) { in FieldAccessContext()
51 …ublic SymbolReference<? extends ValueDeclaration> solveSymbol(String name, TypeSolver typeSolver) { in solveSymbol()
62 public SymbolReference<TypeDeclaration> solveType(String name, TypeSolver typeSolver) { in solveType()
67 …n> solveMethod(String name, List<Type> parameterTypes, boolean staticOnly, TypeSolver typeSolver) { in solveMethod()
72 public Optional<Value> solveSymbolAsValue(String name, TypeSolver typeSolver) { in solveSymbolAsValue()
DTryWithResourceContext.java39 public TryWithResourceContext(TryStmt wrappedNode, TypeSolver typeSolver) { in TryWithResourceContext()
44 public Optional<Value> solveSymbolAsValue(String name, TypeSolver typeSolver) { in solveSymbolAsValue()
62 …ublic SymbolReference<? extends ValueDeclaration> solveSymbol(String name, TypeSolver typeSolver) { in solveSymbol()
79 …n> solveMethod(String name, List<Type> argumentsTypes, boolean staticOnly, TypeSolver typeSolver) { in solveMethod()
DJavaParserTypeDeclarationAdapter.java28 private TypeSolver typeSolver; field in JavaParserTypeDeclarationAdapter
32 …rationAdapter(com.github.javaparser.ast.body.TypeDeclaration<?> wrappedNode, TypeSolver typeSolver, in JavaParserTypeDeclarationAdapter()
41 public SymbolReference<TypeDeclaration> solveType(String name, TypeSolver typeSolver) { in solveType()
86 …n> solveMethod(String name, List<Type> argumentsTypes, boolean staticOnly, TypeSolver typeSolver) { in solveMethod()
127 …erence<ConstructorDeclaration> solveConstructor(List<Type> argumentsTypes, TypeSolver typeSolver) { in solveConstructor()
DEnumDeclarationContext.java38 public EnumDeclarationContext(EnumDeclaration wrappedNode, TypeSolver typeSolver) { in EnumDeclarationContext()
45 …ublic SymbolReference<? extends ValueDeclaration> solveSymbol(String name, TypeSolver typeSolver) { in solveSymbol()
64 …er.symbolsolver.model.declarations.TypeDeclaration> solveType(String name, TypeSolver typeSolver) { in solveType()
69 …n> solveMethod(String name, List<Type> argumentsTypes, boolean staticOnly, TypeSolver typeSolver) { in solveMethod()
DCatchClauseContext.java21 public CatchClauseContext(CatchClause wrappedNode, TypeSolver typeSolver) { in CatchClauseContext()
25 …final SymbolReference<? extends ValueDeclaration> solveSymbol(String name, TypeSolver typeSolver) { in solveSymbol()
37 public final Optional<Value> solveSymbolAsValue(String name, TypeSolver typeSolver) { in solveSymbolAsValue()
51 String name, List<Type> argumentsTypes, boolean staticOnly, TypeSolver typeSolver) { in solveMethod()
DLambdaExprContext.java52 public LambdaExprContext(LambdaExpr wrappedNode, TypeSolver typeSolver) { in LambdaExprContext()
57 public Optional<Value> solveSymbolAsValue(String name, TypeSolver typeSolver) { in solveSymbolAsValue()
142 …ublic SymbolReference<? extends ValueDeclaration> solveSymbol(String name, TypeSolver typeSolver) { in solveSymbol()
156 public SymbolReference<TypeDeclaration> solveType(String name, TypeSolver typeSolver) { in solveType()
162 String name, List<Type> argumentsTypes, boolean staticOnly, TypeSolver typeSolver) { in solveMethod()
170 …al<Value> solveWithAsValue(SymbolDeclarator symbolDeclarator, String name, TypeSolver typeSolver) { in solveWithAsValue()
DAbstractJavaParserContext.java42 protected TypeSolver typeSolver; field in AbstractJavaParserContext
61 public AbstractJavaParserContext(N wrappedNode, TypeSolver typeSolver) { in AbstractJavaParserContext()
91 public Optional<Type> solveGenericType(String name, TypeSolver typeSolver) { in solveGenericType()
131 …al<Value> solveWithAsValue(SymbolDeclarator symbolDeclarator, String name, TypeSolver typeSolver) { in solveWithAsValue()
DAnonymousClassDeclarationContext.java35 public AnonymousClassDeclarationContext(ObjectCreationExpr node, TypeSolver typeSolver) { in AnonymousClassDeclarationContext()
45 TypeSolver typeSolver) { in solveMethod()
101 public SymbolReference<TypeDeclaration> solveType(String name, TypeSolver typeSolver) { in solveType()
176 TypeSolver typeSolver) { in solveSymbol()
DForechStatementContext.java35 public ForechStatementContext(ForeachStmt wrappedNode, TypeSolver typeSolver) { in ForechStatementContext()
40 …ublic SymbolReference<? extends ValueDeclaration> solveSymbol(String name, TypeSolver typeSolver) { in solveSymbol()
57 …n> solveMethod(String name, List<Type> argumentsTypes, boolean staticOnly, TypeSolver typeSolver) { in solveMethod()
DForStatementContext.java39 public ForStatementContext(ForStmt wrappedNode, TypeSolver typeSolver) { in ForStatementContext()
44 …ublic SymbolReference<? extends ValueDeclaration> solveSymbol(String name, TypeSolver typeSolver) { in solveSymbol()
66 …n> solveMethod(String name, List<Type> argumentsTypes, boolean staticOnly, TypeSolver typeSolver) { in solveMethod()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/core/resolution/
DContext.java41 default Optional<Type> solveGenericType(String name, TypeSolver typeSolver) { in solveGenericType()
45 default SymbolReference<TypeDeclaration> solveType(String name, TypeSolver typeSolver) { in solveType()
56 SymbolReference<? extends ValueDeclaration> solveSymbol(String name, TypeSolver typeSolver); in solveSymbol()
58 default Optional<Value> solveSymbolAsValue(String name, TypeSolver typeSolver) { in solveSymbolAsValue()
73 …erence<ConstructorDeclaration> solveConstructor(List<Type> argumentsTypes, TypeSolver typeSolver) { in solveConstructor()
82 …on> solveMethod(String name, List<Type> argumentsTypes, boolean staticOnly, TypeSolver typeSolver); in solveMethod()
88 …al<MethodUsage> solveMethodAsUsage(String name, List<Type> argumentsTypes, TypeSolver typeSolver) { in solveMethodAsUsage()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/model/typesystem/
DReferenceTypeImpl.java41 …renceType undeterminedParameters(ReferenceTypeDeclaration typeDeclaration, TypeSolver typeSolver) { in undeterminedParameters()
48 …erenceTypeDeclaration typeDeclaration, List<Type> typeParametersCorrected, TypeSolver typeSolver) { in create()
53 … protected ReferenceType create(ReferenceTypeDeclaration typeDeclaration, TypeSolver typeSolver) { in create()
57 public ReferenceTypeImpl(ReferenceTypeDeclaration typeDeclaration, TypeSolver typeSolver) { in ReferenceTypeImpl()
61 …eImpl(ReferenceTypeDeclaration typeDeclaration, List<Type> typeParameters, TypeSolver typeSolver) { in ReferenceTypeImpl()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DContextTest.java59 …private TypeSolver typeSolver = new CombinedTypeSolver(new MemoryTypeSolver(), new ReflectionTypeS… field in ContextTest
123 TypeSolver typeSolver = mock(TypeSolver.class); in resolveReferenceToImportedType() local
146 TypeSolver typeSolver = mock(TypeSolver.class); in resolveReferenceUsingQualifiedName() local
170 TypeSolver typeSolver = mock(TypeSolver.class); in resolveReferenceToClassesInTheSamePackage() local
193 TypeSolver typeSolver = mock(TypeSolver.class); in resolveReferenceToClassInJavaLang() local
215 …TypeSolver typeSolver = new CombinedTypeSolver(new JarTypeSolver(pathToJar), new ReflectionTypeSol… in resolveReferenceToMethod() local
234 …TypeSolver typeSolver = new CombinedTypeSolver(new JarTypeSolver(pathToJar), new ReflectionTypeSol… in resolveCascadeOfReferencesToMethod() local
250 …TypeSolver typeSolver = new CombinedTypeSolver(new ReflectionTypeSolver(), new JavaParserTypeSolve… in resolveReferenceToMethodCalledOnArrayAccess() local
265 TypeSolver typeSolver = new ReflectionTypeSolver(); in resolveReferenceToJreType() local
278 TypeSolver typeSolver = new ReflectionTypeSolver(); in resolveReferenceToMethodWithLambda() local
[all …]
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DTypeInferenceCache.java17 …public static void record(TypeSolver typeSolver, LambdaExpr lambdaExpr, String paramName, Resolved… in record()
27 …public static Optional<ResolvedType> retrieve(TypeSolver typeSolver, LambdaExpr lambdaExpr, String… in retrieve()
40 …public static void recordInferenceVariables(TypeSolver typeSolver, LambdaExpr lambdaExpr, List<Inf… in recordInferenceVariables()
47 …atic Optional<List<InferenceVariable>> retrieveInferenceVariables(TypeSolver typeSolver, LambdaExp… in retrieveInferenceVariables()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/constraintformulas/
DTypeCompatibleWithType.java21 private TypeSolver typeSolver; field in TypeCompatibleWithType
23 public TypeCompatibleWithType(TypeSolver typeSolver, ResolvedType s, ResolvedType t) { in TypeCompatibleWithType()
46 ReflectionTypeSolver typeSolver = new ReflectionTypeSolver(); in reduce() local
54 ReflectionTypeSolver typeSolver = new ReflectionTypeSolver(); in reduce() local
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserSymbolDeclaration.java48 private TypeSolver typeSolver; field in JavaParserSymbolDeclaration
50 private JavaParserSymbolDeclaration(Node wrappedNode, String name, TypeSolver typeSolver) { in JavaParserSymbolDeclaration()
56 …ic static JavaParserFieldDeclaration field(VariableDeclarator wrappedNode, TypeSolver typeSolver) { in field()
60 …ublic static JavaParserParameterDeclaration parameter(Parameter parameter, TypeSolver typeSolver) { in parameter()
64 …avaParserSymbolDeclaration localVar(VariableDeclarator variableDeclarator, TypeSolver typeSolver) { in localVar()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/
DCompilationUnitContextResolutionTest.java55 private TypeSolver typeSolver; field in CompilationUnitContextResolutionTest
98 CombinedTypeSolver typeSolver = new CombinedTypeSolver(); in solveSymbolReferringToStaticallyImportedValue() local
113 CombinedTypeSolver typeSolver = new CombinedTypeSolver(); in solveSymbolReferringToStaticallyImportedUsingAsteriskValue() local
138 CombinedTypeSolver typeSolver = new CombinedTypeSolver(); in solveSymbolAsValueReferringToStaticallyImportedValue() local
151 CombinedTypeSolver typeSolver = new CombinedTypeSolver(); in solveSymbolAsValueReferringToStaticallyImportedUsingAsteriskValue() local
209 CombinedTypeSolver typeSolver = new CombinedTypeSolver(); in solveMethodStaticallyImportedWithAsterisk() local
227 CombinedTypeSolver typeSolver = new CombinedTypeSolver(); in solveMethodStaticallyImportedWithoutAsterisk() local
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFactory.java47 public static Context getContext(Node node, TypeSolver typeSolver) { in getContext()
96 public static SymbolDeclarator getSymbolDeclarator(Node node, TypeSolver typeSolver) { in getSymbolDeclarator()
118 public static ReferenceTypeDeclaration toTypeDeclaration(Node node, TypeSolver typeSolver) { in toTypeDeclaration()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFactory.java43 public static Context getContext(Node node, TypeSolver typeSolver) { in getContext()
108 public static SymbolDeclarator getSymbolDeclarator(Node node, TypeSolver typeSolver) { in getSymbolDeclarator()
130 …ublic static ResolvedReferenceTypeDeclaration toTypeDeclaration(Node node, TypeSolver typeSolver) { in toTypeDeclaration()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/declarations/common/
DMethodDeclarationCommonLogic.java39 private TypeSolver typeSolver; field in MethodDeclarationCommonLogic
41 … public MethodDeclarationCommonLogic(MethodDeclaration methodDeclaration, TypeSolver typeSolver) { in MethodDeclarationCommonLogic()
69 private Type replaceTypeParams(Type type, TypeSolver typeSolver, Context context) { in replaceTypeParams()
87 protected Optional<Type> typeParamByName(String name, TypeSolver typeSolver, Context context) { in typeParamByName()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/reflectionmodel/
DSymbolResolutionResolutionTest.java44 TypeSolver typeSolver = new ReflectionTypeSolver(); in getTypeOfField() local
55 TypeSolver typeSolver = new ReflectionTypeSolver(); in getTypeOfFieldAccess() local
68 TypeSolver typeSolver = new ReflectionTypeSolver(); in conditionalExpressionExample() local
80 TypeSolver typeSolver = new ReflectionTypeSolver(); in conditionalExpressionExampleFollowUp1() local

12345678910