You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> What steps will reproduce the problem?
1. perform getAnnotations at runtime, they will not be found as they have
RetentionPolicy.CLASS retention.
> What is the expected output? What do you see instead?
This information is useful at runtime.
One use is runtime validation of information from external sources e.g.
user input, data from other services, configuration files.
Another use is controlling serialization. I have an Immutable annotation I
use which changes how a class is serialized. (using custom serialization)
For Immutable classes, all instances which are equals() become the same
instance on deserialization. For other classes, identity == is used.
Original issue reported on code.google.com by [email protected] on 27 Jan 2009 at 4:52
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 27 Jan 2009 at 4:52The text was updated successfully, but these errors were encountered: