com.surelogic
Annotation Type Regions
@Documented
@Target(value=TYPE)
public @interface Regions
Container annotation for multiple Region annotations. It is a
modeling error for a class to have both a Regions and a
Region annotation.
Examples:
Declaring two regions for the same class.
@Regions({
@Region("private SetRegion"),
@Region("protected ObserverRegion")
})
class Example { ... }
Javadoc usage notes:
This annotation is not supported in Javadoc because Javadoc supports multiple
@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 Region("private SetRegion")
* @annotate Region("protected ObserverRegion")
*/
class Example { ... }
- See Also:
Region
|
Required Element Summary |
Region[] |
value
The Region annotations to apply to the class. |
value
public abstract Region[] value
- The
Region annotations to apply to the class.
Copyright © 2010 Surelogic, Inc.. All Rights Reserved.