|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.dependency.index.IndexReferenceProvider
public abstract class IndexReferenceProvider
Provides references stored in the index.
Constructor Summary | |
---|---|
IndexReferenceProvider()
|
Method Summary | |
---|---|
boolean |
canFindReferences(Context context,
Scope scope,
Declaration declaration)
Determine whether this provider can find references to a declaration. |
boolean |
canGetReference(Context context)
Determine whether there could be a reference in the context. |
boolean |
canGetReferences(Context context,
Node node)
Determine whether this provider can get references for a Node. |
java.util.Collection<? extends Reference> |
findReferences(Context context,
Scope scope,
Declaration declaration,
ProgressIndicator progress)
Find all references to the given declaration that this provider knows about. |
protected ContentSet |
getContentSet(Context context,
Project project,
Declaration declaration)
Get the content set that should be searched for references to a declaration. |
Reference |
getReference(Context context)
Get the reference for the given context, or null if there is no reference in this context. |
protected abstract java.util.Collection<QueryCriteria> |
getReferenceCriteria(Context context,
Declaration declaration)
Get the index query criteria to use to search for references to a declaration. |
java.util.Collection<? extends Reference> |
getReferences(Context context,
Node node)
Get all references for a Node. |
protected boolean |
verify(Context context,
IndexReference reference,
Declaration declaration)
Verify that a reference points to a declaration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexReferenceProvider()
Method Detail |
---|
protected abstract java.util.Collection<QueryCriteria> getReferenceCriteria(Context context, Declaration declaration)
context
- the contextdeclaration
- the declaration
protected ContentSet getContentSet(Context context, Project project, Declaration declaration)
context
- the contextproject
- the project being searcheddeclaration
- the declaration
public boolean canGetReference(Context context)
ReferenceProvider
canGetReference
in interface ReferenceProvider
context
- the context
public Reference getReference(Context context)
ReferenceProvider
ReferenceProvider.canGetReference(oracle.ide.Context)
returned true for this context.
getReference
in interface ReferenceProvider
context
- the context
public boolean canGetReferences(Context context, Node node)
ReferenceProvider
canGetReferences
in interface ReferenceProvider
context
- the contextnode
- the Node
public java.util.Collection<? extends Reference> getReferences(Context context, Node node) throws java.lang.InterruptedException
ReferenceProvider
getReferences
in interface ReferenceProvider
context
- the contextnode
- the Node
java.lang.InterruptedException
- if the operation is interruptedpublic boolean canFindReferences(Context context, Scope scope, Declaration declaration)
ReferenceProvider
canFindReferences
in interface ReferenceProvider
context
- the contextdeclaration
- the declaration
public java.util.Collection<? extends Reference> findReferences(Context context, Scope scope, Declaration declaration, ProgressIndicator progress) throws java.lang.InterruptedException
ReferenceProvider
ReferenceProvider.canFindReferences(Context, Scope, Declaration)
returns true for this context and declaration.
findReferences
in interface ReferenceProvider
context
- the contextdeclaration
- the declaration to search forprogress
- the progress indicator
java.lang.InterruptedException
- if the operation is interruptedprotected boolean verify(Context context, IndexReference reference, Declaration declaration) throws java.lang.InterruptedException
context
- the contextreference
- the referencedeclaration
- the declaration
java.lang.InterruptedException
- if the operation is interrupted
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |