diff --git a/byte-buddy-dep/src/main/java/net/bytebuddy/build/EntryPoint.java b/byte-buddy-dep/src/main/java/net/bytebuddy/build/EntryPoint.java index 0d83fa2d9c..88c90d31cb 100644 --- a/byte-buddy-dep/src/main/java/net/bytebuddy/build/EntryPoint.java +++ b/byte-buddy-dep/src/main/java/net/bytebuddy/build/EntryPoint.java @@ -25,13 +25,15 @@ import net.bytebuddy.dynamic.scaffold.inline.MethodNameTransformer; import net.bytebuddy.implementation.Implementation; +import java.io.Serializable; + import static net.bytebuddy.matcher.ElementMatchers.isDeclaredBy; import static net.bytebuddy.matcher.ElementMatchers.not; /** * An entry point for a build tool which is responsible for the transformation's configuration. */ -public interface EntryPoint { +public interface EntryPoint extends Serializable { /** * Returns the Byte Buddy instance to use. @@ -159,6 +161,11 @@ public DynamicType.Builder transform(TypeDescription typeDescription, @HashCodeAndEqualsPlugin.Enhance class Unvalidated implements EntryPoint { + /** + * The serial version UID. + */ + private static final long serialVersionUID = 1L; + /** * The entry point to use. */