neal at gafter.com
Sat Mar 14 20:47:09 PDT 2009
On Sat, Mar 14, 2009 at 7:43 PM, Dalibor Topic <Dalibor.Topic at sun.com> wrote:
>> There is currently no way to place an annotation on a "source file".
>> You could only annotate the individual classes found within it. In
>> that case, I would think it surprising to find that the annotation
>> contains source for all the classes, imports, and comments in the same
>> source file.
> Thanks, Neal - that's a very good point. Would Package be a more useful
> target for it?
Currently an annotation on the package declaration is only allowed in
one source file (package-info.java).
More information about the coin-dev