Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 141561 Details for
Bug 283299
Complete SourceRange API
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_283299.txt (text/plain), 1.85 KB, created by
Olivier Thomann
on 2009-07-14 15:51:11 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2009-07-14 15:51:11 EDT
Size:
1.85 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/core/SourceRange.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/SourceRange.java,v >retrieving revision 1.2 >diff -u -r1.2 SourceRange.java >--- model/org/eclipse/jdt/core/SourceRange.java 14 Jul 2009 19:42:45 -0000 1.2 >+++ model/org/eclipse/jdt/core/SourceRange.java 14 Jul 2009 19:51:50 -0000 >@@ -37,6 +37,12 @@ > private int offset; > private int length; > >+ /** >+ * Instantiate a new source range using the given offset and the given length. >+ * >+ * @param offset the given offset >+ * @param length the given length >+ */ > public SourceRange(int offset, int length) { > this.offset = offset; > this.length = length; >Index: model/org/eclipse/jdt/core/ISourceRange.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/ISourceRange.java,v >retrieving revision 1.14 >diff -u -r1.14 ISourceRange.java >--- model/org/eclipse/jdt/core/ISourceRange.java 8 Jul 2009 06:32:33 -0000 1.14 >+++ model/org/eclipse/jdt/core/ISourceRange.java 14 Jul 2009 19:51:50 -0000 >@@ -14,6 +14,13 @@ > * A source range defines an element's source coordinates relative to > * its source buffer. > * >+ * <p>Clients may use the method {@link org.eclipse.jdt.core.SourceRange#isAvailable(ISourceRange)} >+ * in order to find out if a source range is available. This method returns <code>false</code> >+ * when the source range offset is equals to <code>-1</code>.</p> >+ * >+ * <p>Clients may use the default implementation provided by {@link SourceRange}.</p> >+ * >+ * @see SourceRange > * @noimplement This interface is not intended to be implemented by clients. > */ > public interface ISourceRange {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 283299
: 141561