I've written a generic database that indexes all the fields of an instance of a class that have a specific annotation. I need to be able to write an instance of this database to a file, but the Field object doesn't implement serializable and is final.
Is there anyway around this?
Thanks!