RetentionPolicy

1 view
Skip to first unread message

jonnybbb

unread,
Aug 10, 2010, 5:54:51 PM8/10/10
to jpatterns
Hi,
Why is the RetentionPolicy for the patterns set to RUNTIME? I am not
quite sure if these annotations should really be available at runtime
at the jvm. SOURCE might be not sufficient if some tools like findbugs
need to process these annotations. But RetentionPolicy.CLASS seems to
me the best fit. This would remove the dependency to jpatterns.jar at
runtime.
Or did i miss an important point?
regards
Johannes


Dr Heinz M. Kabutz

unread,
Aug 10, 2010, 5:57:52 PM8/10/10
to jpat...@googlegroups.com
I thought it might be nice to have the annotations available for
reflection tools. Might not be necessary, we might change that in
future. You make a valid point.

Regards

Heinz
--
Dr Heinz M. Kabutz (PhD CompSci)
Author of "The Java(tm) Specialists' Newsletter"
Sun Java Champion
http://www.javaspecialists.eu
Tel: +30 69 72 850 460
Skype: kabutz

Reply all
Reply to author
Forward
0 new messages