@Documented @Retention(value=RUNTIME) @Target(value=PACKAGE) public @interface Layers
Layer annotations. It is a modeling
error for an entity to have both a Layers and a Layer
annotation.
Layer declarations without imposing any
further constraint on the program's implementation.
@Layers({
@Layer("MODEL may refer to UTIL"),
@Layer("CONTROLLER may refer to MODEL | java.io.File")
})
package org.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 Layer("MODEL may refer to UTIL")
* @annotate Layer("CONTROLLER may refer to MODEL | java.io.File")
*/
package org.example;
LayerCopyright © 2012 Surelogic, Inc.. All Rights Reserved.