Lines Matching refs:writeReplace
32 * This interface defines a the {@link org.mockito.internal.creation.AcrossJVMSerializationFeature.AcrossJVMMockitoMockSerializable#writeReplace()}
37 * Then in the {@link MethodInterceptorFilter} of mockito, if the <code>writeReplace</code> method is called,
38 * it will use the custom implementation of this class {@link #writeReplace(Object)}. This method has a specific
63 && method.getName().equals("writeReplace");
68 * Custom implementation of the <code>writeReplace</code> method for serialization.
77 * So, {@link ObjectOutputStream} will track the <code>writeReplace</code> method in the instance and
88 * <code>writeReplace</code> and execute it.
90 * doesn't disable the <code>writeReplace</code> call, but just just toggle replacement in the
91 * written stream, <strong><code>writeReplace</code> is always called by
106 public Object writeReplace(Object mockitoMock) throws ObjectStreamException {
406 * Simple interface that hold a correct <code>writeReplace</code> signature that can be seen by an
414 public Object writeReplace() throws java.io.ObjectStreamException;