Are Java annotations serializable?

DrFoogle

New Member
The Java Annotation interface does not extend \[code\]Serializable\[/code\]. However, Java annotation values are serializable (implemented using \[code\]java.lang.reflect.Proxy\[/code\], with a serializable invocation handler).Is this guaranteed anywhere? My search-foo is failing to find a reference. Or if I need to serialize annotation instances safely, do I need to create my own serialization proxies?
 
Top