org.aspectj.org.eclipse.jdt.internal.core
Class CompilationUnitElementInfo
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.JavaElementInfo
org.aspectj.org.eclipse.jdt.internal.core.OpenableElementInfo
org.aspectj.org.eclipse.jdt.internal.core.CompilationUnitElementInfo
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- ASTHolderCUInfo
public class CompilationUnitElementInfo
- extends OpenableElementInfo
|
Field Summary |
int |
annotationNumber
|
protected int |
sourceLength
The length of this compilation unit's source code String |
protected long |
timestamp
Timestamp of original resource at the time this element
was opened or last updated. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sourceLength
protected int sourceLength
- The length of this compilation unit's source code
String
timestamp
protected long timestamp
- Timestamp of original resource at the time this element
was opened or last updated.
annotationNumber
public int annotationNumber
CompilationUnitElementInfo
public CompilationUnitElementInfo()
getSourceLength
public int getSourceLength()
- Returns the length of the source string.
getSourceRange
protected ISourceRange getSourceRange()
setSourceLength
public void setSourceLength(int newSourceLength)
- Sets the length of the source string.