Searched refs:delegateMethod (Results 1 – 7 of 7) sorted by relevance
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/ |
D | ForwardsInvocations.java | 36 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/ |
D | ProxyUtils.kt | 38 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/ |
D | ProxyServerCallHandler.java | 83 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/ |
D | CtNewMethod.java | 71 String delegateObj, String delegateMethod) in make() argument 76 if (delegateMethod != null) in make() 77 compiler.recordProceed(delegateObj, delegateMethod); in make()
|
D | CtBehavior.java | 456 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/ |
D | ReflectionHelpers.java | 79 … 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/ |
D | Reporter.java | 811 …xception delegatedMethodHasWrongReturnType(Method mockMethod, Method delegateMethod, Object mock, … in delegatedMethodHasWrongReturnType() argument 815 …be: " + mockMethod.getReturnType().getSimpleName() + ", but was: " + delegateMethod.getReturnType(… in delegatedMethodHasWrongReturnType()
|