Package org.easymock.internal
Class ObjectMethodsFilter
java.lang.Object
org.easymock.internal.ObjectMethodsFilter
- All Implemented Interfaces:
Serializable
,InvocationHandler
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObjectMethodsFilter
(Class<?> toMock, MockInvocationHandler delegate, String name) -
Method Summary
Modifier and TypeMethodDescriptionprivate static Method
extractMethod
(Class<?> toMock, String name, Class<?>... params) getName()
final Object
private String
mockToString
(Object proxy) private void
readObject
(ObjectInputStream stream) private void
writeObject
(ObjectOutputStream stream)
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
NOT_PRIVATE
-
equalsMethod
-
hashCodeMethod
-
toStringMethod
-
finalizeMethod
-
delegate
-
name
-
-
Constructor Details
-
ObjectMethodsFilter
-
-
Method Details
-
getName
-
extractMethod
private static Method extractMethod(Class<?> toMock, String name, Class<?>... params) throws NoSuchMethodException - Throws:
NoSuchMethodException
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
mockToString
-
getDelegate
-
readObject
- Throws:
IOException
ClassNotFoundException
-
writeObject
- Throws:
IOException
-