Class RecoveredModuleStatement
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.parser.RecoveredElement
org.aspectj.org.eclipse.jdt.internal.compiler.parser.RecoveredModuleStatement
- Direct Known Subclasses:
RecoveredPackageVisibilityStatement, RecoveredProvidesStatement, RecoveredRequiresStatement, RecoveredUsesStatement
-
Field Summary
FieldsFields inherited from class RecoveredElement
bracketBalance, foundOpeningBrace, lambdaNestLevel, parent, recoveringParser -
Constructor Summary
ConstructorsConstructorDescriptionRecoveredModuleStatement(ModuleStatement moduleStmt, RecoveredElement parent, int bracketBalance) -
Method Summary
Modifier and TypeMethodDescriptioninttoString(int tab) protected ModuleStatementvoidvoidupdateSourceEndIfNecessary(int bodyStart, int bodyEnd) Methods inherited from class RecoveredElement
add, add, add, add, add, add, add, add, add, addAnnotationName, addBlockStatement, addModifier, depth, enclosingInitializer, enclosingMethod, enclosingType, getLastStart, parser, preserveEnclosingBlocks, previousAvailableLineEnd, resetPendingModifiers, tabString, topElement, toString, type, updateBodyStart, updateFromParserState, updateOnClosingBrace, updateOnOpeningBrace, updateSourceEndIfNecessaryModifier and TypeMethodDescriptionadd(AbstractMethodDeclaration methodDeclaration, int bracketBalanceValue) add(FieldDeclaration fieldDeclaration, int bracketBalanceValue) add(ImportReference importReference, int bracketBalanceValue) add(LocalDeclaration localDeclaration, int bracketBalanceValue) add(ModuleDeclaration moduleDeclaration, int bracketBalanceValue) add(ModuleStatement moduleStatement, int bracketBalanceValue) add(TypeDeclaration typeDeclaration, int bracketBalanceValue) addAnnotationName(int identifierPtr, int identifierLengthPtr, int annotationStart, int bracketBalanceValue) protected voidaddBlockStatement(RecoveredBlock recoveredBlock) voidaddModifier(int flag, int modifiersSourceStart) intdepth()intparser()voidintpreviousAvailableLineEnd(int position) voidprotected StringtabString(int tab) toString()type()voidupdateBodyStart(int bodyStart) voidupdateOnClosingBrace(int braceStart, int braceEnd) updateOnOpeningBrace(int braceStart, int braceEnd) voidupdateSourceEndIfNecessary(int sourceEnd)
-
Field Details
-
moduleStatement
-
-
Constructor Details
-
RecoveredModuleStatement
public RecoveredModuleStatement(ModuleStatement moduleStmt, RecoveredElement parent, int bracketBalance)
-
-
Method Details
-
parseTree
- Overrides:
parseTreein classRecoveredElement
-
sourceEnd
public int sourceEnd()- Overrides:
sourceEndin classRecoveredElement
-
toString
- Overrides:
toStringin classRecoveredElement
-
updatedModuleStatement
-
updateParseTree
public void updateParseTree()- Overrides:
updateParseTreein classRecoveredElement
-
updateSourceEndIfNecessary
public void updateSourceEndIfNecessary(int bodyStart, int bodyEnd) - Overrides:
updateSourceEndIfNecessaryin classRecoveredElement
-