Oracle Corporation
Metadata application constraints within a module system based on modular encapsulation

Last updated:

Abstract:

An annotation is applicable to a module element if a particular condition is satisfied; the annotation is not applicable (and an error or warning may be presented) if the particular condition is not satisfied. In an embodiment, a condition for applicability of an annotation to a module element requires that a module descriptor associated with a defining module declares use of at least one implementation of the module element. A condition associated with an annotation may be specified in a meta-annotation annotating a declaration of an annotation type associated with the annotation.

Status:
Grant
Type:

Utility

Filling date:

4 Jun 2019

Issue date:

29 Jun 2021