|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.core.SourceRange
public class SourceRange
ISourceRange| Field Summary | |
|---|---|
protected int |
length
|
protected int |
offset
|
| Constructor Summary | |
|---|---|
SourceRange(int offset,
int length)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getLength()
Returns the number of characters of the source code for this element, relative to the source buffer in which this element is contained. |
int |
getOffset()
Returns the 0-based index of the first character of the source code for this element, relative to the source buffer in which this element is contained. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int offset
protected int length
| Constructor Detail |
|---|
public SourceRange(int offset,
int length)
| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int getLength()
ISourceRange
getLength in interface ISourceRangeISourceRangepublic int getOffset()
ISourceRange
getOffset in interface ISourceRangeISourceRangepublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||