Back to results
US 2019/0196799 A1Published application
Metadata application constraints within a module system based on modular dependencies
AssigneeOracle International Corporation
InventorAlexander R. Buckley
Life of this patent
Estimating the term…
Abstract
Declarations of annotation types, which specify annotations, are themselves annotated by meta-annotations. Meta-annotations define constraints based on modular dependencies.
Claims20
One or more non-transitory machine-readable media storing instructions which, when executed by one or more processors, cause:
- identifying a first module including a first module element associated with a first annotation and a second module element associated with a second annotation;
- identifying a second set of module code defining a first annotation type of the first annotation;
- determining that a first condition for applicability of the first annotation to the first module element requires that a first module descriptor associated with the first module declare a dependency of a first dependency type on a second module;
- determining that a second condition for applicability of the second annotation to the second module element requires that a second module descriptor associated with the second module declare a dependency of a second dependency type on a third module;
- and
- responsive to determining the first condition and the second condition:
- splitting the first module into a fourth module and a fifth module, wherein the fourth module comprises the first module element and the fifth module comprises the second module element.
4 more elements
A method, comprising:
- identifying a first module including a first module element associated with a first annotation and a second module element associated with a second annotation;
- identifying a second set of module code defining a first annotation type of the first annotation;
- determining that a first condition for applicability of the first annotation to the first module element requires that a first module descriptor associated with the first module declare a dependency of a first dependency type on a second module;
- determining that a second condition for applicability of the second annotation to the second module element requires that a second module descriptor associated with the second module declare a dependency of a second dependency type on a third module;
- and
- responsive to determining the first condition and the second condition:
- splitting the first module into a fourth module and a fifth module, wherein the fourth module comprises the first module element and the fifth module comprises the second module element;
- wherein the method is performed by at least one device including a hardware processor.
5 more elements
A system, comprising:
- at least one device including a hardware processor;
- and
- the system being configured to perform operations comprising:
- identifying a first module including a first module element associated with a first annotation and a second module element associated with a second annotation;
- identifying a second set of module code defining a first annotation type of the first annotation;
- determining that a first condition for applicability of the first annotation to the first module element requires that a first module descriptor associated with the first module declare a dependency of a first dependency type on a second module;
- determining that a second condition for applicability of the second annotation to the second module element requires that a second module descriptor associated with the second module declare a dependency of a second dependency type on a third module;
- and
- responsive to determining the first condition and the second condition:
- splitting the first module into a fourth module and a fifth module, wherein the fourth module comprises the first module element and the fifth module comprises the second module element.
7 more elements
Dependencies are inferred from the claim text.