Home
last modified time | relevance | path

Searched refs:delegateMethod (Results 1 – 4 of 4) 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/javassist/src/main/javassist/
DCtNewMethod.java65 String delegateObj, String delegateMethod) in make() argument
70 if (delegateMethod != null) in make()
71 compiler.recordProceed(delegateObj, delegateMethod); in make()
DCtBehavior.java391 String delegateObj, String delegateMethod) in setBody() argument
398 if (delegateMethod != null) in setBody()
399 jv.recordProceed(delegateObj, delegateMethod); in setBody()
/external/mockito/src/main/java/org/mockito/internal/exceptions/
DReporter.java792 …xception delegatedMethodHasWrongReturnType(Method mockMethod, Method delegateMethod, Object mock, … in delegatedMethodHasWrongReturnType() argument
796 …be: " + mockMethod.getReturnType().getSimpleName() + ", but was: " + delegateMethod.getReturnType(… in delegatedMethodHasWrongReturnType()