OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MethodResolutionLogic
(Results
1 - 12
of
12
) sorted by null
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
ReflectionMethodResolutionLogic.java
30
import com.github.javaparser.symbolsolver.resolution.
MethodResolutionLogic
;
57
SymbolReference<ResolvedMethodDeclaration> ref =
MethodResolutionLogic
.solveMethodInType(ancestor.getTypeDeclaration(), name, parameterTypes, staticOnly, typeSolver);
65
SymbolReference<ResolvedMethodDeclaration> ref =
MethodResolutionLogic
.solveMethodInType(objectClass.getTypeDeclaration(), name, parameterTypes, staticOnly, typeSolver);
70
return
MethodResolutionLogic
.findMostApplicable(methods, name, parameterTypes, typeSolver);
97
SymbolReference<ResolvedMethodDeclaration> ref =
MethodResolutionLogic
.solveMethodInType(ancestor.getTypeDeclaration(), name, argumentsTypes, typeSolver);
107
SymbolReference<ResolvedMethodDeclaration> ref =
MethodResolutionLogic
.solveMethodInType(objectClass.getTypeDeclaration(), name, argumentsTypes, typeSolver);
123
return
MethodResolutionLogic
.findMostApplicableUsage(methods, name, argumentsTypes, typeSolver);
ReflectionClassDeclaration.java
33
import com.github.javaparser.symbolsolver.resolution.
MethodResolutionLogic
;
146
SymbolReference<ResolvedMethodDeclaration> ref =
MethodResolutionLogic
.solveMethodInType(superClass, name, argumentsTypes, staticOnly, typeSolver);
152
SymbolReference<ResolvedMethodDeclaration> ref =
MethodResolutionLogic
.solveMethodInType(interfaceDeclaration.getTypeDeclaration(), name, argumentsTypes, staticOnly, typeSolver);
157
return
MethodResolutionLogic
.findMostApplicable(methods, name, argumentsTypes, typeSolver);
198
Optional<MethodUsage> ref =
MethodResolutionLogic
.findMostApplicableUsage(methods, name, argumentsTypes, typeSolver);
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/
ConstructorResolutionLogic.java
73
expectedType =
MethodResolutionLogic
.replaceTypeParam(expectedType, tp, typeSolver);
112
isAssignableWithoutSubstitution =
MethodResolutionLogic
.isAssignableMatchTypeParameters(
119
expectedType =
MethodResolutionLogic
.replaceTypeParam(expectedType, tp, typeSolver);
185
if (!
MethodResolutionLogic
.isExactMatch(winningCandidate, argumentsTypes)) {
186
if (
MethodResolutionLogic
.isExactMatch(other, argumentsTypes)) {
MethodResolutionLogic.java
45
public class
MethodResolutionLogic
{
[
all
...]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
MethodsResolutionLogicTest.java
59
assertEquals(false,
MethodResolutionLogic
.isApplicable(mu, "isThrows", ImmutableList.of(classOfStringType), typeSolver));
69
assertEquals(true,
MethodResolutionLogic
.isApplicable(mu, "isThrows", ImmutableList.of(rawClassType), typeSolver));
81
assertEquals(true,
MethodResolutionLogic
.isApplicable(mu, "isThrows", ImmutableList.of(classOfRuntimeType), typeSolver));
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
AnonymousClassDeclarationContext.java
20
import com.github.javaparser.symbolsolver.resolution.
MethodResolutionLogic
;
56
MethodResolutionLogic
.solveMethodInType(ancestor.getTypeDeclaration(),
63
// abstract are removed in
MethodResolutionLogic
.isApplicable is necessary
83
MethodResolutionLogic
.solveMethodInType(new ReflectionClassDeclaration(Object.class,
94
return
MethodResolutionLogic
.findMostApplicable(candidateMethods,
JavaParserTypeDeclarationAdapter.java
17
import com.github.javaparser.symbolsolver.resolution.
MethodResolutionLogic
;
96
SymbolReference<ResolvedMethodDeclaration> res =
MethodResolutionLogic
100
// abstract are removed in
MethodResolutionLogic
.isApplicable is necessary
118
SymbolReference<ResolvedMethodDeclaration> res =
MethodResolutionLogic
.solveMethodInType(new ReflectionClassDeclaration(Object.class, typeSolver), name, argumentsTypes, false, typeSolver);
124
return
MethodResolutionLogic
.findMostApplicable(candidateMethods, name, argumentsTypes, typeSolver);
CompilationUnitContext.java
38
import com.github.javaparser.symbolsolver.resolution.
MethodResolutionLogic
;
248
SymbolReference<ResolvedMethodDeclaration> method =
MethodResolutionLogic
.solveMethodInType(ref, name, argumentsTypes, true, typeSolver);
259
SymbolReference<ResolvedMethodDeclaration> method =
MethodResolutionLogic
.solveMethodInType(ref, name, argumentsTypes, true, typeSolver);
MethodCallExprContext.java
33
import com.github.javaparser.symbolsolver.resolution.
MethodResolutionLogic
;
82
SymbolReference<ResolvedMethodDeclaration> m =
MethodResolutionLogic
.solveMethodInType(ref.getCorrespondingDeclaration(), name, argumentsTypes, typeSolver);
154
SymbolReference<ResolvedMethodDeclaration> res =
MethodResolutionLogic
.solveMethodInType(rrtd, name, argumentsTypes, false, typeSolver);
313
expectedType =
MethodResolutionLogic
.replaceTypeParam(expectedType, tp, typeSolver);
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
JavassistEnumDeclaration.java
30
import com.github.javaparser.symbolsolver.resolution.
MethodResolutionLogic
;
195
return
MethodResolutionLogic
.findMostApplicable(candidates, name, argumentsTypes, typeSolver);
JavassistInterfaceDeclaration.java
30
import com.github.javaparser.symbolsolver.resolution.
MethodResolutionLogic
;
141
return
MethodResolutionLogic
.findMostApplicable(candidates, name, argumentsTypes, typeSolver);
JavassistClassDeclaration.java
32
import com.github.javaparser.symbolsolver.resolution.
MethodResolutionLogic
;
219
return
MethodResolutionLogic
.findMostApplicable(candidates, name, argumentsTypes, typeSolver);
Completed in 484 milliseconds