Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.ide.dependency
Interface SourceReference

All Superinterfaces:
Reference
All Known Implementing Classes:
IndexReference

public interface SourceReference
extends Reference

A reference in a source file.


Method Summary
 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.
 int getStartOffset()
          Get the start offset of the reference in the source file.
 Workspace getWorkspace()
          Get the workspace containing the source file this reference appears in.
 
Methods inherited from interface oracle.ide.dependency.Reference
getURL, isReferenceTo, resolve, show
 

Method Detail

getWorkspace

Workspace getWorkspace()
Get the workspace containing the source file this reference appears in.

Returns:
the workspace

getProject

Project getProject()
Get the project containing the source file this reference appears in.

Returns:
the project

getStartOffset

int getStartOffset()
Get the start offset of the reference in the source file.

Returns:
the start offset

getEndOffset

int getEndOffset()
Get the end offset of the reference in the source file.

Returns:
the end offset

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.