Interface ByteBuddyCrossClassLoaderSerializationSupport.CrossClassLoaderSerializableMock

  • Enclosing class:
    ByteBuddyCrossClassLoaderSerializationSupport

    public static interface ByteBuddyCrossClassLoaderSerializationSupport.CrossClassLoaderSerializableMock
    Simple interface that hold a correct writeReplace signature that can be seen by an ObjectOutputStream.

    It will be applied before the creation of the mock when the mock setting says it should serializable.

    • Method Detail

      • writeReplace

        java.lang.Object writeReplace()