Home
last modified time | relevance | path

Searched refs:delegateMethod (Results 1 – 7 of 7) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
DForwardsInvocations.java36 Method delegateMethod = getDelegateMethod(mockMethod); in answer() local
38 … if (!compatibleReturnTypes(mockMethod.getReturnType(), delegateMethod.getReturnType())) { in answer()
39 …throw delegatedMethodHasWrongReturnType(mockMethod, delegateMethod, invocation.getMock(), delegate… in answer()
43 return delegateMethod.invoke(delegatedObject, rawArguments); in answer()
/external/dokka/runners/gradle-plugin/src/main/kotlin/
DProxyUtils.kt38 val delegateMethod = delegate.javaClass.getMethod(method.name, *method.parameterTypes) in automagicTypedProxy() constant
40 delegateMethod.isAccessible = true in automagicTypedProxy()
41 return delegateMethod.invoke(delegate, *(args ?: emptyArray())) in automagicTypedProxy()
/external/dagger2/java/dagger/grpc/server/
DProxyServerCallHandler.java83 ServerMethodDefinition<RequestT, ResponseT> delegateMethod = getMethodDefinition(headers); in startCall() local
85 delegateMethod in startCall()
87 .startCall(new ServerCallAdapter(call, delegateMethod.getMethodDescriptor()), headers); in startCall()
/external/javassist/src/main/javassist/
DCtNewMethod.java71 String delegateObj, String delegateMethod) in make() argument
76 if (delegateMethod != null) in make()
77 compiler.recordProceed(delegateObj, delegateMethod); in make()
DCtBehavior.java456 String delegateObj, String delegateMethod) in setBody() argument
463 if (delegateMethod != null) in setBody()
464 jv.recordProceed(delegateObj, delegateMethod); in setBody()
/external/robolectric-shadows/shadowapi/src/main/java/org/robolectric/util/
DReflectionHelpers.java79 … Method delegateMethod = delegateClass.getMethod(method.getName(), method.getParameterTypes());
80 delegateMethod.setAccessible(true);
81 return delegateMethod.invoke(delegate, args);
/external/mockito/src/main/java/org/mockito/internal/exceptions/
DReporter.java811 …xception delegatedMethodHasWrongReturnType(Method mockMethod, Method delegateMethod, Object mock, … in delegatedMethodHasWrongReturnType() argument
815 …be: " + mockMethod.getReturnType().getSimpleName() + ", but was: " + delegateMethod.getReturnType(… in delegatedMethodHasWrongReturnType()