Annotation and module

Rémi Forax forax at univ-mlv.fr
Sat Mar 17 07:40:18 PDT 2012


The current spec disallows to put annotations on a module,
while I understand why nodody want to have an artifact descriptor 
defined using
annotations, I think this is too restrictive.

Eclipse, by example, has an annotation named @NonNullByDefault that
you can put on a package to improve the null-analysis.
I think this kind of annotations should be allowed on a module.

Perhaps, only annotations visible at runtime should be disallowed.

cheers,
Rémi





More information about the jigsaw-dev mailing list