Skip navigation links

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

E17493-04


oracle.ide.dependency
Interface SourceDeclaration

All Superinterfaces:
Declaration
All Known Implementing Classes:
AnnotationDeclaration, ClassDeclaration, FieldDeclaration, IndexDeclaration, MethodDeclaration

public interface SourceDeclaration
extends Declaration

A declaration in a source file.


Method Summary
 int getEndOffset()
          Get the end offset of the declaration in the source file.
 Project getProject()
          Get the project containing the source file this declaration appears in.
 int getStartOffset()
          Get the start offset of the declaration in the source file.
 Workspace getWorkspace()
          Get the workspace containing the source file this declaration appears in.

 

Methods inherited from interface oracle.ide.dependency.Declaration
canDelete, delete, getURL, show

 

Method Detail

getWorkspace

Workspace getWorkspace()
Get the workspace containing the source file this declaration appears in.
Returns:
the workspace

getProject

Project getProject()
Get the project containing the source file this declaration appears in.
Returns:
the project

getStartOffset

int getStartOffset()
Get the start offset of the declaration in the source file.
Returns:
the start offset

getEndOffset

int getEndOffset()
Get the end offset of the declaration in the source file.
Returns:
the end offset

Skip navigation links

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

E17493-04


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