public class CompilationUnitElementInfo extends OpenableElementInfo
| Modifier and Type | Field and Description |
|---|---|
static int |
ANNOTATION_THRESHOLD_FOR_DIET_PARSE
Count that will be used by SourceTypeConverter to decide whether or not to diet parse.
|
int |
annotationNumber |
boolean |
hasFunctionalTypes |
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.
|
children, isStructureKnown| Constructor and Description |
|---|
CompilationUnitElementInfo() |
| Modifier and Type | Method and Description |
|---|---|
int |
getSourceLength()
Returns the length of the source string.
|
protected ISourceRange |
getSourceRange() |
void |
setSourceLength(int newSourceLength)
Sets the length of the source string.
|
addChild, getChildren, isStructureKnown, removeChild, setChildren, setIsStructureKnownclonepublic static int ANNOTATION_THRESHOLD_FOR_DIET_PARSE
protected int sourceLength
Stringprotected long timestamp
public int annotationNumber
public boolean hasFunctionalTypes
public int getSourceLength()
protected ISourceRange getSourceRange()
public void setSourceLength(int newSourceLength)