Inferring code deprecation from module deprecation
AssigneeOracle International Corporation
InventorsChris Hegarty, Alexander R. Buckley, Stuart Warren Marks
Life of this patent
Estimating the term…
Abstract
Techniques for inferring code deprecation from module deprecation are disclosed. A system detects a reference to a type. The system determines that a particular module, in a plurality of modules in a module system, exposes the referenced type. The system determines that the particular module is associated with a deprecation status. Responsive to determining that the particular module is associated with the deprecation status, the system presents information indicating that the reference references a deprecated module.
Claims20
A non-transitory computer readable medium comprising instructions which, when executed by one or more hardware processors, cause performance of operations comprising:
- detecting a reference to a type;
- determining that a particular module, in a plurality of modules in a module system, exposes the referenced type;
- determining that the particular module is associated with a deprecation status;
- responsive to determining that the particular module is associated with the deprecation status, presenting information indicating that the referenced type is exposed by a deprecated module.
The medium of claim 16, the operations further comprising:
- traversing a module dependency graph to identify the indirect reference.
A system comprising:
- one or more hardware processors;
- and
- one or more non-transitory computer-readable media storing instructions, which when executed by the one or more hardware processors, cause execution of operations comprising:
- detecting a reference to a type;
- determining that a particular module, in a plurality of modules in a module system, exposes the referenced type;
- determining that the particular module is associated with a deprecation status;
- responsive to determining that the particular module is associated with the deprecation status, presenting information indicating that the referenced type is exposed by a deprecated module.
A method comprising:
- detecting a reference to a type;
- determining that a particular module, in a plurality of modules in a module system, exposes the referenced type;
- determining that the particular module is associated with a deprecation status;
- responsive to determining that the particular module is associated with the deprecation status, presenting information indicating that the referenced type is exposed by a deprecated module.
- wherein the method is performed by at least one device comprising a hardware processor.
Dependencies are inferred from the claim text.