JAXB uses Package Annotations (@XmlSchema, for instance). See http://wiki.eclipse.org/Dali/Indigo/JAXB_2.x/PackageAnnotations#.40XmlSchema
-- Ryan Schipper On 6 May 2011 00:34, Eric Jablow <[email protected]> wrote: > On May 5, 9:18 am, "[email protected]" > <[email protected]> wrote: >> As often happens, I actually noticed that the jdk7 source had many >> package-info.java files after I had posted my message. :-( > >> On May 4, 6:00 am, Bruce Chapman <[email protected]> wrote: > >> >> > > From:http://download.oracle.com/javase/1.5.0/docs/tooldocs/windows/javadoc... > >> > > package-info.java - Can contain a package declaration, package >> > > annotations, package comments and Javadoc tags. This file is new in >> > > JDK 5.0, and is preferred over package.html. > > I have never seen a package annotation in the wild. I suppose someone > might > @Deprecate[d] a package, but I've never seen it. Perhaps a package- > info.java > file might include annotations for per-package versioning and sealing: > @ImplementationTitle, @ImplementationVersion, @ImplementationVendor, > etc. > > A smart JAR tool could scan packages for these annotations > > Respectfully, > Eric Jablow > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > > -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
