Provides declarations identified by a unique ID.
Provides progress updates for dependency operations.
A declaration in a source file.
A reference in a source file.
Entry point for the Dependency API.
A declaration that is identified by a unique ID.
A reference to a declaration by ID.
The scope of a dependency search.
Utilities for dealing with references and declarations in source files.
Provides generic URL declarations.
Reference.resolve(oracle.ide.Context)method resolves a reference to its corresponding declaration. Both Reference and Declaration have a show() method which displays the reference or declaration to the user. This might open an editor, for example.
DeclarationProviderinterfaces. These can be registered using
DependencyManager.addDeclarationProvider(oracle.ide.dependency.DeclarationProvider). The can also be registered through the extension manifest file as follows:
<hooks> <dependency-hook xmlns="http://xmlns.oracle.com/ide/extension"> <declaration-provider provider-class="my.provider.Class"/> <reference-provider provider-class="my.provider.Class"/> </dependency-hook> </hooks>
IdDeclarationare standard implementations of Reference and Declaration that use a unique String ID to identify a declaration. This declaration ID allows a language to make refrences to declarations in another language. All that is requred to make such a reference is the declaration ID, which is provided by the language owning the declaration. The IdReference class will automatically resolve the ID to the corresponding declaration. Clients can provide IdDeclaration instances by implementing