[JSR308] JSR 308 documents and tools released

Bill Pugh pugh at cs.umd.edu
Tue Jul 10 14:40:38 EDT 2007


Figure 1 shows:

@DefaultAnnotation(@NonNull)

We haven't found anyway to do this with JSR-175 annotations; you  
can't define an annotation that takes an arbitrary annotation as a  
parameter.
You also can't define subtypes relationships in JSR-175.

Is the ability to do this an extension in JSR-308? I didn't see it  
spelled out.

	Bill




More information about the JSR308 mailing list