|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) public @interface CompilationVersion
Indicates the version of a module definition that was used for compilation. This metadata annotation is applied to the import of the development module, i.e. the superpackage construct.
The version format must follow the one described in the Version
class. This metadata annotation is intended to be used by the compiler,
and should NOT be used directly in the source file.
For examples,
superpackage com.wombat.xyz { // // The imported module used for compilation was version 1.2.3. // @CompilationVersion("1.2.3") @VersionConstraint("[1.0, 2.0)") import org.opensource.library; ... }
Version
Required Element Summary | |
---|---|
String |
value
Version of the module definition used for compilation. |
Element Detail |
---|
public abstract String value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |