org.eclipse.jdt.internal.compiler.parser
Class RecoveredUnit
java.lang.Object
org.eclipse.jdt.internal.compiler.parser.RecoveredElement
org.eclipse.jdt.internal.compiler.parser.RecoveredUnit
public class RecoveredUnit
- extends RecoveredElement
Methods inherited from class org.eclipse.jdt.internal.compiler.parser.RecoveredElement |
add, add, add, depth, enclosingInitializer, enclosingMethod, enclosingType, parser, preserveEnclosingBlocks, previousAvailableLineEnd, topElement, toString, type, updateBodyStart, updateFromParserState, updateOnClosingBrace, updateOnOpeningBrace, updateSourceEndIfNecessary |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
unitDeclaration
public CompilationUnitDeclaration unitDeclaration
imports
public RecoveredImport[] imports
importCount
public int importCount
types
public RecoveredType[] types
typeCount
public int typeCount
RecoveredUnit
public RecoveredUnit(CompilationUnitDeclaration unitDeclaration,
int bracketBalance,
Parser parser)
addAnnotationName
public RecoveredElement addAnnotationName(int identifierPtr,
int identifierLengthPtr,
int annotationStart,
int bracketBalanceValue)
- Overrides:
addAnnotationName
in class RecoveredElement
addModifier
public void addModifier(int flag,
int modifiersSourceStart)
- Overrides:
addModifier
in class RecoveredElement
add
public RecoveredElement add(AbstractMethodDeclaration methodDeclaration,
int bracketBalanceValue)
- Overrides:
add
in class RecoveredElement
add
public RecoveredElement add(FieldDeclaration fieldDeclaration,
int bracketBalanceValue)
- Overrides:
add
in class RecoveredElement
add
public RecoveredElement add(ImportReference importReference,
int bracketBalanceValue)
- Overrides:
add
in class RecoveredElement
add
public RecoveredElement add(TypeDeclaration typeDeclaration,
int bracketBalanceValue)
- Overrides:
add
in class RecoveredElement
parseTree
public ASTNode parseTree()
- Overrides:
parseTree
in class RecoveredElement
resetPendingModifiers
public void resetPendingModifiers()
- Overrides:
resetPendingModifiers
in class RecoveredElement
sourceEnd
public int sourceEnd()
- Overrides:
sourceEnd
in class RecoveredElement
toString
public java.lang.String toString(int tab)
- Overrides:
toString
in class RecoveredElement
updatedCompilationUnitDeclaration
public CompilationUnitDeclaration updatedCompilationUnitDeclaration()
updateParseTree
public void updateParseTree()
- Overrides:
updateParseTree
in class RecoveredElement
updateSourceEndIfNecessary
public void updateSourceEndIfNecessary(int bodyStart,
int bodyEnd)
- Overrides:
updateSourceEndIfNecessary
in class RecoveredElement