View | Details | Raw Unified | Return to bug 283299
Collapse All | Expand All

(-)model/org/eclipse/jdt/core/SourceRange.java (+6 lines)
Lines 37-42 Link Here
37
	private int offset;
37
	private int offset;
38
	private int length;
38
	private int length;
39
39
40
	/**
41
	 * Instantiate a new source range using the given offset and the given length.
42
	 * 
43
	 * @param offset the given offset
44
	 * @param length the given length
45
	 */
40
	public SourceRange(int offset, int length) {
46
	public SourceRange(int offset, int length) {
41
		this.offset = offset;
47
		this.offset = offset;
42
		this.length = length;
48
		this.length = length;
(-)model/org/eclipse/jdt/core/ISourceRange.java (+7 lines)
Lines 14-19 Link Here
14
 * A source range defines an element's source coordinates relative to
14
 * A source range defines an element's source coordinates relative to
15
 * its source buffer.
15
 * its source buffer.
16
 *
16
 *
17
 * <p>Clients may use the method {@link org.eclipse.jdt.core.SourceRange#isAvailable(ISourceRange)}
18
 * in order to find out if a source range is available. This method returns <code>false</code>
19
 * when the source range offset is equals to <code>-1</code>.</p>
20
 * 
21
 * <p>Clients may use the default implementation provided by {@link SourceRange}.</p>
22
 *
23
 * @see SourceRange
17
 * @noimplement This interface is not intended to be implemented by clients.
24
 * @noimplement This interface is not intended to be implemented by clients.
18
 */
25
 */
19
public interface ISourceRange {
26
public interface ISourceRange {

Return to bug 283299