This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: annotations for Kawa
On 12/05/2010 01:25 PM, Helmut Eller wrote:
Is there a difference between java.lang.Deprecated and
@java.lang.Deprecated?
As expressions, it's plausible that these would be equivalent:
(java.lang.Deprecated)
(@java.lang.Deprecated)
However, in a declaration form, only the latter would be recognized
as an annotation on the declaration.
--
--Per Bothner
per@bothner.com http://per.bothner.com/