Home
last modified time | relevance | path

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

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserAnonymousClassDeclarationTest.java25 MethodCallExpr methodCall = Navigator.findMethodCall(method, "of").get(); in anonymousClassAsMethodArgument() local
30 JavaParserFacade.get(combinedTypeSolver).solveMethodAsUsage(methodCall); in anonymousClassAsMethodArgument()
41 MethodCallExpr methodCall = Navigator.findMethodCall(method, "innerClassMethod").get(); in callingSuperClassInnerClassMethod() local
46 JavaParserFacade.get(combinedTypeSolver).solveMethodAsUsage(methodCall); in callingSuperClassInnerClassMethod()
57 MethodCallExpr methodCall = Navigator.findMethodCall(method, "callAnnonClassInnerMethod").get(); in callingAnonymousClassInnerMethod() local
62 JavaParserFacade.get(combinedTypeSolver).solveMethodAsUsage(methodCall); in callingAnonymousClassInnerMethod()
74 MethodCallExpr methodCall = Navigator.findMethodCall(method, "toString").get(); in usingAnonymousSuperClassInnerType() local
79 JavaParserFacade.get(combinedTypeSolver).solveMethodAsUsage(methodCall); in usingAnonymousSuperClassInnerType()
89 MethodCallExpr methodCall = Navigator.findMethodCall(method, "toString").get(); in usingAnonymousClassInnerType() local
94 JavaParserFacade.get(combinedTypeSolver).solveMethodAsUsage(methodCall); in usingAnonymousClassInnerType()
[all …]
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DFakeOtherGenerator.java188 CodeBlock methodCall = in generateBlockingMethodOnFakeOther() local
197 methodCall = CodeBlock.of("return $L", methodCall); in generateBlockingMethodOnFakeOther()
215 methodBuilder.addStatement(methodCall); in generateBlockingMethodOnFakeOther()
245 CodeBlock methodCall = in generateCrossProfileCallbackMethodOnFakeOther() local
254 methodCall = CodeBlock.of("return $L", methodCall); in generateCrossProfileCallbackMethodOnFakeOther()
267 methodBuilder.addStatement(methodCall); in generateCrossProfileCallbackMethodOnFakeOther()
291 CodeBlock methodCall = in generateFutureMethodOnFakeOther() local
300 methodCall = CodeBlock.of("$1T returnValue = $2L", method.returnType(), methodCall); in generateFutureMethodOnFakeOther()
329 methodBuilder.addStatement(methodCall); in generateFutureMethodOnFakeOther()
DInternalCrossProfileClassGenerator.java194 CodeBlock methodCall = in addBlockingCrossProfileTypeMethod() local
207 methodCode.addStatement(methodCall); in addBlockingCrossProfileTypeMethod()
209 methodCall = CodeBlock.of("$T returnValue = $L", method.returnType(), methodCall); in addBlockingCrossProfileTypeMethod()
210 methodCode.addStatement(methodCall); in addBlockingCrossProfileTypeMethod()
256 CodeBlock methodCall = in addCrossProfileCallbackCrossProfileTypeMethod() local
265 methodCode.addStatement(methodCall); in addCrossProfileCallbackCrossProfileTypeMethod()
267 methodCall = CodeBlock.of("$T returnValue = $L", method.returnType(), methodCall); in addCrossProfileCallbackCrossProfileTypeMethod()
268 methodCode.addStatement(methodCall); in addCrossProfileCallbackCrossProfileTypeMethod()
303 CodeBlock methodCall = in addFutureCrossProfileTypeMethod() local
311 methodCode.addStatement("$T future = $L", method.returnType(), methodCall); in addFutureCrossProfileTypeMethod()
DGeneratorUtilities.java139 CodeBlock.Builder methodCall = CodeBlock.builder(); in methodJavadocReference() local
140 methodCall.add("{@link $T#", method.getEnclosingElement()); in methodJavadocReference()
141 methodCall.add("$L(", method.getSimpleName()); in methodJavadocReference()
144 methodCall.add("$T", method.getParameters().iterator().next().asType()); in methodJavadocReference()
148 methodCall.add(",$T", param.asType()); in methodJavadocReference()
152 methodCall.add(")}"); in methodJavadocReference()
153 return methodCall.build(); in methodJavadocReference()
DCurrentProfileGenerator.java164 CodeBlock methodCall = in generateMethodOnCurrentProfileClass() local
173 methodCall = CodeBlock.of("return $L", methodCall); in generateMethodOnCurrentProfileClass()
187 .addStatement(methodCall) in generateMethodOnCurrentProfileClass()
DMultipleProfilesGenerator.java170 CodeBlock methodCall = CodeBlock.of("$L($L)", methodName, params); in generateBlockingMethodOnMultipleProfilesClass() local
189 methodBuilder.addStatement("sender.$L", methodCall); in generateBlockingMethodOnMultipleProfilesClass()
204 methodBuilder.addStatement("returnValue.put(senderIdentifier, sender.$L)", methodCall); in generateBlockingMethodOnMultipleProfilesClass()
322 CodeBlock methodCall = CodeBlock.of("$L($L)", methodName, params); in generateFutureMethodOnMultipleProfilesClass() local
347 methodBuilder.addStatement("results.put(senderIdentifier, sender.$L)", methodCall); in generateFutureMethodOnMultipleProfilesClass()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/differentiate_dot_expressions/
DInnerClassDotExpressions.java3 InnerClassContainer.InnerClass.methodCall(); in main()
11 public static String methodCall() { in methodCall() method in InnerClassContainer.InnerClass
DPackageDotExpressions.java7 com.packageName.InnerClassContainer.InnerClass.methodCall(); in main()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/
DDifferentiateDotExpressionTest.java52 MethodCallExpr methodCall = Navigator.findMethodCall(mainMethod, "methodCall").get(); in staticMethodCallsFromInnerClasses() local
56 assertEquals(true, javaParserFacade.solve(methodCall).isSolved()); in staticMethodCallsFromInnerClasses()
80 MethodCallExpr methodCall = Navigator.findMethodCall(mainMethod, "methodCall").get(); in packageStaticMethodCalls() local
90 assertEquals(true, javaParserFacade.solve(methodCall).isSolved()); in packageStaticMethodCalls()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DIssue84Test.java35 final MethodCallExpr methodCall = Navigator.findMethodCall(cu, "variadicMethod").get(); in variadicIssue() local
38 final ResolvedType type = javaParserFacade.getType(methodCall); in variadicIssue()
DIssue228Test.java26 MethodCallExpr methodCall = cu.findAll(MethodCallExpr.class).get(0); in testSolvingMethodWitPrimitiveParameterTypeAsUsage() local
28 MethodUsage solvedCall = parserFacade.solveMethodAsUsage(methodCall); in testSolvingMethodWitPrimitiveParameterTypeAsUsage()
/external/mockito/src/main/java/org/mockito/internal/stubbing/
DDefaultLenientStubber.java59 public <T> OngoingStubbing<T> when(T methodCall) { in when() argument
60 … OngoingStubbingImpl<T> ongoingStubbing = (OngoingStubbingImpl) MOCKITO_CORE.when(methodCall); in when()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DExpressionHelper.java86 private static boolean elidesTypeArguments(MethodCallExpr methodCall) { in elidesTypeArguments() argument
90 private static boolean isQualified(MethodCallExpr methodCall) { in isQualified() argument
DTypeInference.java387 …public boolean moreSpecificMethodInference(MethodCallExpr methodCall, ResolvedMethodDeclaration m1… in moreSpecificMethodInference() argument
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/differentiate_dot_expressions/com/packageName/
DInnerClassContainer.java3 public static String methodCall() { in methodCall() method in InnerClassContainer.InnerClass
DInnerStaticClassFieldContainer.java5 public static String methodCall() { in methodCall() method in InnerStaticClassFieldContainer.InnerClass
/external/dagger2/java/dagger/internal/codegen/writing/
DMethodBindingExpression.java87 CodeBlock methodCall = in getDependencyExpression() local
97 ? methodCall in getDependencyExpression()
98 : CodeBlock.of("$L.$L", componentImplementation.externalReferenceBlock(), methodCall)); in getDependencyExpression()
/external/mockito/src/main/java/org/mockito/stubbing/
DLenientStubber.java26 <T> OngoingStubbing<T> when(T methodCall); in when() argument
/external/mockito/src/main/java/org/mockito/
DBDDMockito.java196 public static <T> BDDMyOngoingStubbing<T> given(T methodCall) { in given() argument
197 return new BDDOngoingStubbingImpl<T>(Mockito.when(methodCall)); in given()
DMockito.java2091 public static <T> OngoingStubbing<T> when(T methodCall) { in when() argument
2092 return MOCKITO_CORE.when(methodCall); in when()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DGenericsResolutionTest.java442 MethodCallExpr methodCall = Navigator.findMethodCall(method, "foo").get(); in methodWithGenericParameterTypes() local
447 MethodUsage methodUsage = javaParserFacade.solveMethodAsUsage(methodCall); in methodWithGenericParameterTypes()
/external/mockito/src/main/java/org/mockito/internal/
DMockitoCore.java74 public <T> OngoingStubbing<T> when(T methodCall) { in when() argument
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DRuby.stg319 …<methodCall(del=ruleDescriptor.grammar, n=ruleDescriptor.name, args={<ruleDescriptor.parameterScop…
564 methodCall(n, del, args) ::= <<
722 <if(label)><label; format="label"> = <endif><methodCall(del=scope, n={<rule.name>}, args=args)>
1299 <methodCall(n={<rule.name; format="lexerRule">},del=scope,args=args)>
1308 <methodCall(n={<rule.name; format="lexerRule">}, del=scope, args=args)>
1450 …<methodCall(del=ruleDescriptor.grammar, n={<ruleDescriptor.name; format="lexerRule">}, args=ruleDe…
/external/python/setuptools/setuptools/_vendor/
Dpyparsing.py4353 def __init__(self, methodCall): argument
4354 self.callable = _trim_arity(methodCall)
/external/python/setuptools/pkg_resources/_vendor/
Dpyparsing.py4353 def __init__(self, methodCall): argument
4354 self.callable = _trim_arity(methodCall)