@Documented @Retention(value=RUNTIME) @Target(value=PACKAGE) public @interface TypeSets
TypeSet annotations. It is a
modeling error for an entity to have both a TypeSets and a
TypeSet annotation.
TypeSet declarations without imposing
any further constraint on the program's implementation.
package-info.java file.
@TypeSets({
@TypeSet("UTIL = java.util & !(java.util.{Enumeration, Hashtable, Vector})"),
@TypeSet("XML = org.jdom+ | UTIL | java.{io, net}") })
package example;
import com.surelogic.*;
@annotate tags of the same type (see the example below).
Javadoc annotation can be useful for Java 1.4 code which does not include
language support for annotations.
/**
* @annotate TypeSet("UTIL = java.util & !(java.util.{Enumeration, Hashtable, Vector})")
* @annotate TypeSet("XML = org.jdom+ | UTIL | java.{io, net}")
*/
package example;
TypeSetCopyright © 2012 Surelogic, Inc.. All Rights Reserved.