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
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intCount that will be used by SourceTypeConverter to decide whether or not to diet parse.intbooleanprotected intThe length of this compilation unit's source codeStringprotected longTimestamp 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.intReturns the length of the source string.protected ISourceRangevoidsetCustomOptions(Map<String, String> customOptions) Sets the custom options of this compilation unit element.voidsetSourceLength(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, toStringMethods inherited from class org.aspectj.org.eclipse.jdt.internal.core.JavaElementInfo
clone, getExtendedChildren
-
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
-
setCustomOptions
-