I've been playing with the serializable interface for a little pet project of mine for a while, and I often notice a warning about how I should define static final long serialVersionID
.
I've been searching for a way to make my own interfaces produce a similar warning (forcing/reccomending the declaration of a constant in whatever class implements it) and haven't found anything so far. The Seralizable
interface is just a marker interface, so it doesn't actually contain anything and the closest I've ever came to answering my question is with this thread on dreamincode.
Can anybody help, because that sounds like a very useful feature?