/**
* The length of this compilation unit's source code <code>String</code>
*/
- protected int fSourceLength;
-
+ protected int sourceLength;
+
/**
* Timestamp of original resource at the time this element
* was opened or last updated.
*/
- protected long fTimestamp;
+ protected long timestamp;
/**
* Returns the length of the source string.
*/
public int getSourceLength() {
- return fSourceLength;
+ return sourceLength;
}
protected ISourceRange getSourceRange() {
- return new SourceRange(0, fSourceLength);
+ return new SourceRange(0, sourceLength);
+}
+protected boolean isOpen() {
+ return true;
}
/**
* Sets the length of the source string.
*/
public void setSourceLength(int newSourceLength) {
- fSourceLength = newSourceLength;
+ sourceLength = newSourceLength;
}
}