org.mockito.internal.invocation.realmethod
Class CGLIBProxyRealMethod

java.lang.Object
  extended by org.mockito.internal.invocation.realmethod.CGLIBProxyRealMethod
All Implemented Interfaces:
java.io.Serializable, HasCGLIBMethodProxy, RealMethod

public class CGLIBProxyRealMethod
extends java.lang.Object
implements RealMethod, HasCGLIBMethodProxy, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
CGLIBProxyRealMethod(MockitoMethodProxy methodProxy)
           
 
Method Summary
 MockitoMethodProxy getMethodProxy()
           
 java.lang.Object invoke(java.lang.Object target, java.lang.Object[] arguments)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CGLIBProxyRealMethod

public CGLIBProxyRealMethod(MockitoMethodProxy methodProxy)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object target,
                               java.lang.Object[] arguments)
                        throws java.lang.Throwable
Specified by:
invoke in interface RealMethod
Throws:
java.lang.Throwable

getMethodProxy

public MockitoMethodProxy getMethodProxy()
Specified by:
getMethodProxy in interface HasCGLIBMethodProxy