org.aspectj.org.eclipse.jdt.internal.core
Class CompilationUnitElementInfo

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.core.JavaElementInfo
      extended by org.aspectj.org.eclipse.jdt.internal.core.OpenableElementInfo
          extended by 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.
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.OpenableElementInfo
children, isStructureKnown
 
Constructor Summary
CompilationUnitElementInfo()
           
 
Method Summary
 int getSourceLength()
          Returns the length of the source string.
protected  ISourceRange getSourceRange()
           
 void setSourceLength(int newSourceLength)
          Sets the length of the source string.
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.OpenableElementInfo
addChild, getChildren, isStructureKnown, removeChild, setChildren, setIsStructureKnown
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.JavaElementInfo
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

CompilationUnitElementInfo

public CompilationUnitElementInfo()
Method Detail

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.