Home
last modified time | relevance | path

Searched refs:invokedMethod (Results 1 – 12 of 12) sorted by relevance

/external/testng/src/main/java/org/testng/internal/invokers/
DInvokedMethodListenerInvoker.java60 IInvokedMethod invokedMethod) { in invokeListener() argument
62 strategy.callMethod(listenerInstance, invokedMethod, m_testResult, m_testContext); in invokeListener()
76 void callMethod(LISTENER_TYPE listener, IInvokedMethod invokedMethod, ITestResult testResult, in callMethod() argument
82 public void callMethod(IInvokedMethodListener listener, IInvokedMethod invokedMethod, in callMethod() argument
84 listener.beforeInvocation(invokedMethod, testResult); in callMethod()
90 public void callMethod(IInvokedMethodListener2 listener, IInvokedMethod invokedMethod, in callMethod() argument
92 listener.beforeInvocation(invokedMethod, testResult, testContext); in callMethod()
98 public void callMethod(IInvokedMethodListener listener, IInvokedMethod invokedMethod, in callMethod() argument
100 listener.afterInvocation(invokedMethod, testResult); in callMethod()
106 public void callMethod(IInvokedMethodListener2 listener, IInvokedMethod invokedMethod, in callMethod() argument
[all …]
/external/desugar/java/com/google/devtools/build/android/desugar/
DLambdaDesugaring.java206 private MethodReferenceBridgeInfo queueUpBridgeMethodIfNeeded(Handle invokedMethod) in queueUpBridgeMethodIfNeeded() argument
208 if (invokedMethod.getName().startsWith("lambda$")) { in queueUpBridgeMethodIfNeeded()
210 return MethodReferenceBridgeInfo.noBridge(invokedMethod); in queueUpBridgeMethodIfNeeded()
214 Executable invoked = findTargetMethod(invokedMethod); in queueUpBridgeMethodIfNeeded()
215 if (isVisibleToLambdaClass(invoked, invokedMethod.getOwner())) { in queueUpBridgeMethodIfNeeded()
217 return MethodReferenceBridgeInfo.noBridge(invokedMethod); in queueUpBridgeMethodIfNeeded()
222 "%s is an interface and shouldn't need bridge to %s", internalName, invokedMethod); in queueUpBridgeMethodIfNeeded()
223 checkState(!invokedMethod.isInterface(), in queueUpBridgeMethodIfNeeded()
224 "%s's lambda classes can't see interface method: %s", internalName, invokedMethod); in queueUpBridgeMethodIfNeeded()
225 MethodReferenceBridgeInfo result = bridgeMethods.get(invokedMethod); in queueUpBridgeMethodIfNeeded()
[all …]
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DMockMethodInterceptor.java38 Method invokedMethod, in doIntercept() argument
43 createMockitoMethod(invokedMethod), in doIntercept()
96 @Origin Method invokedMethod, in interceptSuperCallable() argument
104 invokedMethod, in interceptSuperCallable()
115 @Origin Method invokedMethod, in interceptAbstract() argument
122 invokedMethod, in interceptAbstract()
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DLensCodeRewriter.java93 DexMethod invokedMethod = invoke.getInvokedMethod(); in rewrite() local
94 DexType invokedHolder = invokedMethod.getHolder(); in rewrite()
98 DexMethod actualTarget = graphLense.lookupMethod(invokedMethod, method); in rewrite()
99 Invoke.Type invokeType = getInvokeType(invoke, actualTarget, invokedMethod); in rewrite()
100 if (actualTarget != invokedMethod || invoke.getType() != invokeType) { in rewrite()
106 if (actualTarget.proto.returnType != invokedMethod.proto.returnType in rewrite()
113 graphLense.lookupType(invokedMethod.proto.returnType, method)); in rewrite()
207 DexMethod invokedMethod = methodHandle.asMethod(); in rewriteDexMethodHandle() local
208 DexMethod actualTarget = graphLense.lookupMethod(invokedMethod, method); in rewriteDexMethodHandle()
209 if (actualTarget != invokedMethod) { in rewriteDexMethodHandle()
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DMemberValuePropagation.java128 DexMethod invokedMethod = invoke.getInvokedMethod(); in rewriteWithConstantValues() local
129 DexType invokedHolder = invokedMethod.getHolder(); in rewriteWithConstantValues()
133 DexEncodedMethod definition = appInfo.lookup(invoke.getType(), invokedMethod); in rewriteWithConstantValues()
DOutliner.java422 DexMethod invokedMethod = invoke.getInvokedMethod(); in canIncludeInstruction() local
425 target = appInfo.lookupStaticTarget(invokedMethod); in canIncludeInstruction()
427 target = appInfo.lookupDirectTarget(invokedMethod); in canIncludeInstruction()
429 if (invokedMethod.getHolder().isArrayType()) { in canIncludeInstruction()
432 target = appInfo.lookupVirtualTarget(invokedMethod.getHolder(), invokedMethod); in canIncludeInstruction()
439 DexClass holder = appInfo.definitionFor(invokedMethod.getHolder()); in canIncludeInstruction()
DCodeRewriter.java705 DexMethod invokedMethod = target.method; in rewriteMoveResult() local
707 DexEncodedMethod definition = appInfo.definitionFor(invokedMethod); in rewriteMoveResult()
1339 DexMethod invokedMethod = current.asInvokeMethod().getInvokedMethod();
1340 if (invokedMethod == dexItemFactory.longMethods.compare) {
1347 } else if (invokedMethod == dexItemFactory.objectsMethods.requireNonNull) {
1376 DexMethod invokedMethod = current.asInvokeMethod().getInvokedMethod();
1378 if (matchesMethodOfThrowable(invokedMethod, throwableMethods.addSuppressed)) {
1381 } else if (matchesMethodOfThrowable(invokedMethod, throwableMethods.getSuppressed)) {
/external/testng/src/main/java/org/testng/internal/
DInvoker.java487 InvokedMethod invokedMethod= new InvokedMethod(targetInstance, in invokeConfigurationMethod() local
493 runInvokedMethodListeners(BEFORE_INVOCATION, invokedMethod, testResult); in invokeConfigurationMethod()
494 m_notifier.addInvokedMethod(invokedMethod); in invokeConfigurationMethod()
535 runInvokedMethodListeners(AFTER_INVOCATION, invokedMethod, testResult); in invokeConfigurationMethod()
547 …runInvokedMethodListeners(InvokedMethodListenerMethod listenerMethod, IInvokedMethod invokedMethod, in runInvokedMethodListeners() argument
556 invoker.invokeListener(currentListener, invokedMethod); in runInvokedMethodListeners()
597 InvokedMethod invokedMethod = null; in invokeMethod() local
609 invokedMethod= new InvokedMethod(instance, in invokeMethod()
621 runInvokedMethodListeners(BEFORE_INVOCATION, invokedMethod, testResult); in invokeMethod()
623 m_notifier.addInvokedMethod(invokedMethod); in invokeMethod()
[all …]
/external/r8/src/test/java/com/android/tools/r8/
DRunExamplesAndroidOTest.java304 Assert.assertFalse(invoke.invokedMethod().name.toString().equals("addSuppressed")); in testTryWithResourcesDesugared()
305 Assert.assertFalse(invoke.invokedMethod().name.toString().equals("getSuppressed")); in testTryWithResourcesDesugared()
/external/r8/src/test/java/com/android/tools/r8/smali/
DOutlineTest.java50 DexMethod invokedMethod = invoke.getMethod(); in getInvokedMethod() local
51 invokedMethod.proto.returnType.toSourceString(); in getInvokedMethod()
53 invokedMethod.proto.returnType.toSourceString(), in getInvokedMethod()
54 invokedMethod.name.toString(), in getInvokedMethod()
55 Arrays.stream(invokedMethod.proto.parameters.values) in getInvokedMethod()
/external/r8/src/test/java/com/android/tools/r8/rewrite/longcompare/
DRequireNonNullRewriteTest.java89 Assert.assertEquals("getClass", iterator.next().invokedMethod().name.toString()); in runTest()
/external/r8/src/test/java/com/android/tools/r8/utils/
DDexInspector.java944 return new TypeSubject(invokedMethod().getHolder()); in holder()
947 public DexMethod invokedMethod() { in invokedMethod() method in DexInspector.InvokeInstructionSubject