java.module.annotation
Annotation Type ExportLegacyClasses


@Target(value=SUPERPACKAGE)
@Retention(value=RUNTIME)
public @interface ExportLegacyClasses

Indicates the legacy classes in a module definition are exported. This metadata annotation is applied to the development module, i.e. the superpackage construct.

The legacy classes must be packaged in a legacy JAR file which is embedded in the module archive of the module definition.

For example,

     @ExportLegacyClasses
     superpackage com.wombat.xyz {
        ...
     }
 

Since:
1.7.0
Author:
Stanley M. Ho