org.omnaest.utils.proxy
Class MethodInvocationForwardingCapturer.MethodAndArguments

java.lang.Object
  extended by org.omnaest.utils.proxy.MethodInvocationForwardingCapturer.MethodAndArguments
All Implemented Interfaces:
MethodInvocationForwardingCapturer.MethodInvocationComparison
Enclosing class:
MethodInvocationForwardingCapturer

protected static class MethodInvocationForwardingCapturer.MethodAndArguments
extends Object
implements MethodInvocationForwardingCapturer.MethodInvocationComparison

Wrapper for Method and arguments which implements hashCode() and equals(Object)

Author:
Omnaest

Constructor Summary
MethodInvocationForwardingCapturer.MethodAndArguments(Method method, Object[] arguments)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodInvocationForwardingCapturer.MethodAndArguments

public MethodInvocationForwardingCapturer.MethodAndArguments(Method method,
                                                             Object[] arguments)
Method Detail

hashCode

public int hashCode()
Specified by:
hashCode in interface MethodInvocationForwardingCapturer.MethodInvocationComparison
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Specified by:
equals in interface MethodInvocationForwardingCapturer.MethodInvocationComparison
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.