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:
Cloneable
- Direct Known Subclasses:
ASTHolderCUInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic int
Count that will be used by SourceTypeConverter to decide whether or not to diet parse.int
boolean
protected int
The length of this compilation unit's source codeString
protected long
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, module, nonJavaResources
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the custom options of this compilation unit element.int
Returns the length of the source string.protected ISourceRange
void
setCustomOptions(Map<String,String> customOptions)
Sets the custom options of this compilation unit element.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, getModule, isStructureKnown, removeChild, setChildren, setIsStructureKnown, setModule, toString
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.JavaElementInfo
clone
-
Field Details
-
ANNOTATION_THRESHOLD_FOR_DIET_PARSE
public static int ANNOTATION_THRESHOLD_FOR_DIET_PARSECount that will be used by SourceTypeConverter to decide whether or not to diet parse. -
sourceLength
protected int sourceLengthThe length of this compilation unit's source codeString
-
timestamp
protected long timestampTimestamp of original resource at the time this element was opened or last updated. -
annotationNumber
public int annotationNumber -
hasFunctionalTypes
public boolean hasFunctionalTypes
-
-
Constructor Details
-
CompilationUnitElementInfo
public CompilationUnitElementInfo()
-
-
Method Details
-
getSourceLength
public int getSourceLength()Returns the length of the source string. -
getSourceRange
-
setSourceLength
public void setSourceLength(int newSourceLength)Sets the length of the source string. -
getCustomOptions
Returns the custom options of this compilation unit element. -
setCustomOptions
Sets the custom options of this compilation unit element.
-