public abstract class IndexReference extends IdReference implements SourceReference
| Constructor and Description |
|---|
IndexReference(IndexingContext context,
int startOffset,
int endOffset) |
IndexReference(Workspace workspace,
Project project,
java.net.URL url,
int startOffset,
int endOffset) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEndOffset()
Get the end offset of the reference in the source file.
|
Project |
getProject()
Get the project containing the source file this reference appears in.
|
QueryCriteria |
getQueryCriteria()
Get the index query criteria that matches this reference.
|
int |
getStartOffset()
Get the start offset of the reference in the source file.
|
java.net.URL |
getURL()
Get the URL containing this reference, if there is one.
|
Workspace |
getWorkspace()
Get the workspace containing the source file this reference appears in.
|
void |
show()
Show this reference to the user.
|
getDeclarationId, isReferenceTo, resolve, setDeclarationIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisReferenceTo, resolvepublic IndexReference(IndexingContext context, int startOffset, int endOffset)
public Workspace getWorkspace()
SourceReferencegetWorkspace in interface SourceReferencepublic Project getProject()
SourceReferencegetProject in interface SourceReferencepublic java.net.URL getURL()
Referencepublic int getStartOffset()
SourceReferencegetStartOffset in interface SourceReferencepublic int getEndOffset()
SourceReferencegetEndOffset in interface SourceReferencepublic void show()
Referencepublic QueryCriteria getQueryCriteria()