import java.io.Serializable;

public class Bar implements Serializable {
    private static final long serialVersionUID = 0;
    int foobar = 0;
}

public class Foo {
    private static final long serialVersionUID = 0;
    int foobar = 0;
}