public class RecoveredImport extends RecoveredElement
| Modifier and Type | Field and Description |
|---|---|
ImportReference |
importReference |
bracketBalance, foundOpeningBrace, lambdaNestLevel, parent, recoveringParser| Constructor and Description |
|---|
RecoveredImport(ImportReference importReference,
RecoveredElement parent,
int bracketBalance) |
| Modifier and Type | Method and Description |
|---|---|
ASTNode |
parseTree() |
int |
sourceEnd() |
java.lang.String |
toString(int tab) |
ImportReference |
updatedImportReference() |
void |
updateParseTree() |
void |
updateSourceEndIfNecessary(int bodyStart,
int bodyEnd) |
add, add, add, add, add, add, add, addAnnotationName, addBlockStatement, addModifier, depth, enclosingInitializer, enclosingMethod, enclosingType, parser, preserveEnclosingBlocks, previousAvailableLineEnd, resetPendingModifiers, tabString, topElement, toString, type, updateBodyStart, updateFromParserState, updateOnClosingBrace, updateOnOpeningBrace, updateSourceEndIfNecessarypublic ImportReference importReference
public RecoveredImport(ImportReference importReference, RecoveredElement parent, int bracketBalance)
public ASTNode parseTree()
parseTree in class RecoveredElementpublic int sourceEnd()
sourceEnd in class RecoveredElementpublic java.lang.String toString(int tab)
toString in class RecoveredElementpublic ImportReference updatedImportReference()
public void updateParseTree()
updateParseTree in class RecoveredElementpublic void updateSourceEndIfNecessary(int bodyStart,
int bodyEnd)
updateSourceEndIfNecessary in class RecoveredElement