Home
last modified time | relevance | path

Searched refs:solveMethodAsUsage (Results 1 – 25 of 56) sorted by relevance

123

/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_ContextHelper.txt1solveMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters) ==> com.gi…
2solveMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters) ==> com.gi…
3solveMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters) ==> com.gi…
4solveMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters) ==> com.gi…
5solveMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters) ==> com.gi…
6solveMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters) ==> com.gi…
7 …ontext().solveMethodAsUsage(name, argumentsTypes, typeSolver) ==> com.github.javaparser.symbolsolv…
9 …ontext().solveMethodAsUsage(name, argumentsTypes, typeSolver) ==> com.github.javaparser.symbolsolv…
11 …ontext().solveMethodAsUsage(name, argumentsTypes, typeSolver) ==> com.github.javaparser.symbolsolv…
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_MethodCallExprContext.txt37solveMethodAsUsage(typeOfScope, name, argumentsTypes, typeSolver, this) ==> com.github.javaparser.…
40 …tContext.solveMethodAsUsage(name, argumentsTypes, typeSolver) ==> com.github.javaparser.symbolsolv…
112solveMethodAsUsage(refType.getTypeDeclaration(), name, argumentsTypes, typeSolver, invokationConte…
292solveMethodAsUsage(bound.getType(), name, argumentsTypes, typeSolver, invokationContext) ==> com.g…
296solveMethodAsUsage((ReferenceType) type, name, argumentsTypes, typeSolver, invokationContext) ==> …
297solveMethodAsUsage((TypeVariable) type, name, argumentsTypes, typeSolver, invokationContext) ==> c…
299solveMethodAsUsage(wildcardUsage.getBoundedType(), name, argumentsTypes, typeSolver, invokationCon…
302solveMethodAsUsage(constraintType.getBound(), name, argumentsTypes, typeSolver, invokationContext)…
304solveMethodAsUsage(new ReferenceTypeImpl(new ReflectionClassDeclaration(Object.class, typeSolver),…
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistUtils.txt19solveMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, null) ==> com.github.javap…
22solveMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, null) ==> com.github.javap…
/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/
DContextHelper.java46 …public static Optional<MethodUsage> solveMethodAsUsage(TypeDeclaration typeDeclaration, String nam… in solveMethodAsUsage() method in ContextHelper
50 …return ((JavassistClassDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, type… in solveMethodAsUsage()
52 …return ((JavassistInterfaceDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, … in solveMethodAsUsage()
54 …return ((JavassistEnumDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, typeS… in solveMethodAsUsage()
56 …return ((ReflectionClassDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, typ… in solveMethodAsUsage()
58 …return ((ReflectionInterfaceDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes,… in solveMethodAsUsage()
60 …return ((ReflectionEnumDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, type… in solveMethodAsUsage()
62 …return ((JavaParserClassDeclaration) typeDeclaration).getContext().solveMethodAsUsage(name, argume… in solveMethodAsUsage()
64 …rn ((JavaParserInterfaceDeclaration) typeDeclaration).getContext().solveMethodAsUsage(name, argume… in solveMethodAsUsage()
66 …return ((JavaParserEnumDeclaration) typeDeclaration).getContext().solveMethodAsUsage(name, argumen… in solveMethodAsUsage()
DMethodCallExprContext.java79 …public Optional<MethodUsage> solveMethodAsUsage(String name, List<Type> argumentsTypes, TypeSolver… in solveMethodAsUsage() method in MethodCallExprContext
116 return solveMethodAsUsage(typeOfScope, name, argumentsTypes, typeSolver, this); in solveMethodAsUsage()
122 return parentContext.solveMethodAsUsage(name, argumentsTypes, typeSolver); in solveMethodAsUsage()
208 private Optional<MethodUsage> solveMethodAsUsage(ReferenceType refType, String name, in solveMethodAsUsage() method in MethodCallExprContext
211 …Optional<MethodUsage> ref = ContextHelper.solveMethodAsUsage(refType.getTypeDeclaration(), name, a… in solveMethodAsUsage()
422 …private Optional<MethodUsage> solveMethodAsUsage(TypeVariable tp, String name, List<Type> argument… in solveMethodAsUsage() method in MethodCallExprContext
424 …Optional<MethodUsage> methodUsage = solveMethodAsUsage(bound.getType(), name, argumentsTypes, type… in solveMethodAsUsage()
432 …private Optional<MethodUsage> solveMethodAsUsage(Type type, String name, List<Type> argumentsTypes… in solveMethodAsUsage() method in MethodCallExprContext
434 …return solveMethodAsUsage((ReferenceType) type, name, argumentsTypes, typeSolver, invokationContex… in solveMethodAsUsage()
436 …return solveMethodAsUsage((TypeVariable) type, name, argumentsTypes, typeSolver, invokationContext… in solveMethodAsUsage()
[all …]
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DMethodCallExprContext.java74 … public Optional<MethodUsage> solveMethodAsUsage(String name, List<ResolvedType> argumentsTypes) { in solveMethodAsUsage() method in MethodCallExprContext
111 return solveMethodAsUsage(typeOfScope, name, argumentsTypes, this); in solveMethodAsUsage()
117 return parentContext.solveMethodAsUsage(name, argumentsTypes); in solveMethodAsUsage()
166 private Optional<MethodUsage> solveMethodAsUsage(ResolvedReferenceType refType, String name, in solveMethodAsUsage() method in MethodCallExprContext
169 …Optional<MethodUsage> ref = ContextHelper.solveMethodAsUsage(refType.getTypeDeclaration(), name, a… in solveMethodAsUsage()
386 …private Optional<MethodUsage> solveMethodAsUsage(ResolvedTypeVariable tp, String name, List<Resolv… in solveMethodAsUsage() method in MethodCallExprContext
388 …Optional<MethodUsage> methodUsage = solveMethodAsUsage(bound.getType(), name, argumentsTypes, invo… in solveMethodAsUsage()
396 …private Optional<MethodUsage> solveMethodAsUsage(ResolvedType type, String name, List<ResolvedType… in solveMethodAsUsage() method in MethodCallExprContext
398 … return solveMethodAsUsage((ResolvedReferenceType) type, name, argumentsTypes, invokationContext); in solveMethodAsUsage()
400 … return solveMethodAsUsage((ResolvedTypeVariable) type, name, argumentsTypes, invokationContext); in solveMethodAsUsage()
[all …]
DContextHelper.java37 …public static Optional<MethodUsage> solveMethodAsUsage(ResolvedTypeDeclaration typeDeclaration, St… in solveMethodAsUsage() method in ContextHelper
43 … .solveMethodAsUsage(name, argumentsTypes, invokationContext, typeParameters); in solveMethodAsUsage()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserAnonymousClassDeclarationTest.java30 JavaParserFacade.get(combinedTypeSolver).solveMethodAsUsage(methodCall); in anonymousClassAsMethodArgument()
46 JavaParserFacade.get(combinedTypeSolver).solveMethodAsUsage(methodCall); in callingSuperClassInnerClassMethod()
62 JavaParserFacade.get(combinedTypeSolver).solveMethodAsUsage(methodCall); in callingAnonymousClassInnerMethod()
79 JavaParserFacade.get(combinedTypeSolver).solveMethodAsUsage(methodCall); in usingAnonymousSuperClassInnerType()
94 JavaParserFacade.get(combinedTypeSolver).solveMethodAsUsage(methodCall); in usingAnonymousClassInnerType()
109 JavaParserFacade.get(combinedTypeSolver).solveMethodAsUsage(methodCall); in callingScopedAnonymousClassInnerMethod()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DVariadicResolutionTest.java69 MethodUsage callee = javaParserFacade.solveMethodAsUsage(callExpr); in methodCallWithReferenceTypeAsVaridicArgumentIsSolved()
83 MethodUsage callee = javaParserFacade.solveMethodAsUsage(callExpr); in resolveVariadicMethodWithGenericArgument()
99 MethodUsage call1 = javaParserFacade.solveMethodAsUsage(calls.get(0)); in selectMostSpecificVariadic()
100 MethodUsage call2 = javaParserFacade.solveMethodAsUsage(calls.get(1)); in selectMostSpecificVariadic()
DContextTest.java324 MethodUsage methodUsage = JavaParserFacade.get(typeSolver).solveMethodAsUsage(call); in resolveGenericReturnTypeOfMethodInJar()
341 MethodUsage methodUsage = JavaParserFacade.get(typeSolver).solveMethodAsUsage(call); in resolveCompoundGenericReturnTypeOfMethodInJar()
356 MethodUsage methodUsage = JavaParserFacade.get(typeSolver).solveMethodAsUsage(call); in resolveNestedGenericReturnTypeOfMethodInJar()
371 MethodUsage methodUsage = JavaParserFacade.get(typeSolver).solveMethodAsUsage(call); in resolveSimpleGenericReturnTypeOfMethodInJar()
386 MethodUsage methodUsage = JavaParserFacade.get(typeSolver).solveMethodAsUsage(call); in resolveGenericReturnTypeFromInputParam()
401 MethodUsage methodUsage = JavaParserFacade.get(typeSolver).solveMethodAsUsage(call); in resolveComplexGenericReturnType()
416 MethodUsage methodUsage = JavaParserFacade.get(typeSolver).solveMethodAsUsage(call); in resolveDoubleNestedClassType()
431 … MethodUsage filterUsage = JavaParserFacade.get(typeSolver).solveMethodAsUsage(callToGetTypes); in resolveTypeUsageOfFirstMethodInGenericClass()
447 MethodUsage filterUsage = JavaParserFacade.get(typeSolver).solveMethodAsUsage(callToStream); in resolveTypeUsageOfMethodInGenericClass()
461 MethodUsage filterUsage = JavaParserFacade.get(typeSolver).solveMethodAsUsage(callToFilter); in resolveTypeUsageOfCascadeMethodInGenericClass()
[all …]
DMethodsResolutionWithJavassistTest.java49 … MethodUsage methodUsage1 = JavaParserFacade.get(typeSolver).solveMethodAsUsage(calls.get(0)); in testOverloadedMethods()
53 … MethodUsage methodUsage2 = JavaParserFacade.get(typeSolver).solveMethodAsUsage(calls.get(1)); in testOverloadedMethods()
DStatementContextResolutionTest.java86 MethodUsage methodUsage = JavaParserFacade.get(typeSolver).solveMethodAsUsage(call); in resolveLocalAndSeveralAnnidatedLevels()
103 MethodUsage methodUsage = JavaParserFacade.get(typeSolver).solveMethodAsUsage(call); in resolveMethodOnGenericClass()
DGenericsResolutionTest.java195 …sage methodUsage = JavaParserFacade.get(new ReflectionTypeSolver()).solveMethodAsUsage(expression); in resolveUsageOfMethodOfGenericClass()
207 …sage methodUsage = JavaParserFacade.get(new ReflectionTypeSolver()).solveMethodAsUsage(expression); in resolveUsageOfMethodOfGenericClassWithUnboundedWildcard()
220 …sage methodUsage = JavaParserFacade.get(new ReflectionTypeSolver()).solveMethodAsUsage(expression); in resolveUsageOfMethodOfGenericClassWithExtendsWildcard()
447 MethodUsage methodUsage = javaParserFacade.solveMethodAsUsage(methodCall); in methodWithGenericParameterTypes()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/
DMethodCallExprContextResolutionTest.java79 Optional<MethodUsage> ref = context.solveMethodAsUsage("foo", Collections.emptyList()); in solveNestedMethodCallExprContextWithoutScope()
100 Optional<MethodUsage> ref = context.solveMethodAsUsage(callMethodName, Collections.emptyList()); in assertCanSolveGenericMethodCallMustUseProvidedTypeArgs()
128 Optional<MethodUsage> ref = context.solveMethodAsUsage(callMethodName, argumentsTypes); in assertCanSolveGenericMethodCallCanInferFromArguments()
DClassOrInterfaceDeclarationContextResolutionTest.java425 Optional<MethodUsage> ref = context.solveMethodAsUsage("foo0", ImmutableList.of()); in solveMethodAsUsageSimpleCase()
438 Optional<MethodUsage> ref = context.solveMethodAsUsage("foo1", ImmutableList.of()); in solveMethodAsUsageOverrideCase()
451 Optional<MethodUsage> ref = context.solveMethodAsUsage("foo2", ImmutableList.of()); in solveMethodAsUsageInheritedCase()
466 Optional<MethodUsage> ref = context.solveMethodAsUsage("foo3", ImmutableList.of(intType)); in solveMethodAsUsageWithPrimitiveParameters()
481 … Optional<MethodUsage> ref = context.solveMethodAsUsage("foo4", ImmutableList.of(stringType)); in solveMethodAsUsageWithMoreSpecializedParameter()
493 …Optional<MethodUsage> ref = context.solveMethodAsUsage("foo5", ImmutableList.of(NullType.INSTANCE)… in solveMethodAsUsageWithAmbiguosCall()
DFieldAccessContextResolutionTest.java46 … MethodUsage methodUsage = JavaParserFacade.get(typeSolver).solveMethodAsUsage(methodCallExpr); in solveMethodCallInFieldAccessContext()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/core/resolution/
DMethodUsageResolutionCapability.java10 …Optional<MethodUsage> solveMethodAsUsage(String name, List<ResolvedType> argumentTypes, Context in… in solveMethodAsUsage() method
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionEnumDeclaration.java160 …public Optional<MethodUsage> solveMethodAsUsage(String name, List<Type> parameterTypes, TypeSolver… in solveMethodAsUsage() method in ReflectionEnumDeclaration
161 …Optional<MethodUsage> res = ReflectionMethodResolutionLogic.solveMethodAsUsage(name, parameterType… in solveMethodAsUsage()
DReflectionClassDeclaration.java171 …public Optional<MethodUsage> solveMethodAsUsage(String name, List<Type> argumentsTypes, TypeSolver… in solveMethodAsUsage() method in ReflectionClassDeclaration
186 …Optional<MethodUsage> ref = ContextHelper.solveMethodAsUsage(superClass, name, argumentsTypes, typ… in solveMethodAsUsage()
192 …Optional<MethodUsage> ref = ContextHelper.solveMethodAsUsage(interfaceDeclaration.getTypeDeclarati… in solveMethodAsUsage()
DReflectionInterfaceDeclaration.java134 …public Optional<MethodUsage> solveMethodAsUsage(String name, List<Type> parameterTypes, TypeSolver… in solveMethodAsUsage() method in ReflectionInterfaceDeclaration
135 …Optional<MethodUsage> res = ReflectionMethodResolutionLogic.solveMethodAsUsage(name, parameterType… in solveMethodAsUsage()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassDeclaration.java188 …public Optional<MethodUsage> solveMethodAsUsage(String name, List<ResolvedType> argumentsTypes, Co… in solveMethodAsUsage() method in ReflectionClassDeclaration
208 …Optional<MethodUsage> ref = ContextHelper.solveMethodAsUsage(superClass, name, argumentsTypes, inv… in solveMethodAsUsage()
214 …Optional<MethodUsage> ref = ContextHelper.solveMethodAsUsage(interfaceDeclaration.getTypeDeclarati… in solveMethodAsUsage()
DReflectionEnumDeclaration.java169 public Optional<MethodUsage> solveMethodAsUsage(String name, List<ResolvedType> parameterTypes, in solveMethodAsUsage() method in ReflectionEnumDeclaration
171 …Optional<MethodUsage> res = ReflectionMethodResolutionLogic.solveMethodAsUsage(name, parameterType… in solveMethodAsUsage()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DIssue228Test.java28 MethodUsage solvedCall = parserFacade.solveMethodAsUsage(methodCall); in testSolvingMethodWitPrimitiveParameterTypeAsUsage()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistUtils.java73 …Usage> ref = new JavassistClassDeclaration(superClass, typeSolver).solveMethodAsUsage(name, argume… in getMethodUsage()
84 …ge> ref = new JavassistInterfaceDeclaration(interfaze, typeSolver).solveMethodAsUsage(name, argume… in getMethodUsage()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserAnonymousClassDeclaration.java82 public Optional<MethodUsage> solveMethodAsUsage(String name, List<ResolvedType> argumentTypes, in solveMethodAsUsage() method in JavaParserAnonymousClassDeclaration
84 return getContext().solveMethodAsUsage(name, argumentTypes); in solveMethodAsUsage()

123