java.module.annotation
Annotation Type ModuleAttributes


@Target(value={SUPERPACKAGE,TYPE})
@Retention(value=RUNTIME)
public @interface ModuleAttributes

Indicates an array of attributes of a module definition. This metadata annotation is applied to the development module, i.e. the superpackage construct.

For example,

    @ModuleAttributes({
       @ModuleAttribute(name="org.opensource.license", value="GPL"),
       @ModuleAttribute(name="java.magic.number", value="CAFEBABE")
    })
    superpackage com.wombat.xyz {
        ...
    }
 

Since:
1.7.0
Author:
Stanley M. Ho
See Also:
ModuleAttribute

Required Element Summary
 ModuleAttribute[] value
          Array of module attributes.
 

Element Detail

value

public abstract ModuleAttribute[] value
Array of module attributes.