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

(-)model/org/eclipse/jdt/core/ISourceReference.java (-3 / +5 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2009 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 61-73 Link Here
61
 * associated with the class file (if there is one).
61
 * associated with the class file (if there is one).
62
 * </p>
62
 * </p>
63
 * <p>
63
 * <p>
64
 * If this element has no associated source code <code>null</code> is either returned,
64
 * If this element has no associated source code, either <code>null</code> is returned,
65
 * or a source range with a -1 offset and a 0 length.
65
 * or a source range with a -1 offset and a 0 length. {@link SourceRange#isAvailable(ISourceRange)}
66
 * can be used to detect that case.
66
 * </p>
67
 * </p>
67
 *
68
 *
68
 * @return the source range, or either <code>null</code> or [-1, 0] if this element has no
69
 * @return the source range, or either <code>null</code> or [-1, 0] if this element has no
69
 *   associated source code
70
 *   associated source code
70
 * @exception JavaModelException if an exception occurs while accessing its corresponding resource
71
 * @exception JavaModelException if an exception occurs while accessing its corresponding resource
72
 * @see SourceRange#isAvailable(ISourceRange)
71
 */
73
 */
72
ISourceRange getSourceRange() throws JavaModelException;
74
ISourceRange getSourceRange() throws JavaModelException;
73
}
75
}

Return to bug 294488