java.module.annotation
Annotation Type Reexport


@Retention(value=RUNTIME)
public @interface Reexport

Indicates an import in a module definition is re-exported. This metadata annotation is applied to the import of the development module, i.e. the superpackage construct.

For example,

     superpackage com.wombat.xyz {
        //
        // Re-exports the imported module javax.xml version 2.0.
        //
        @Reexport
        @VersionConstraint("2.0")
        import javax.xml;
        ...
     }
 

Since:
1.7.0
Author:
Stanley M. Ho