public class RecoveredLocalVariable extends RecoveredStatement
| Modifier and Type | Field and Description |
|---|---|
boolean |
alreadyCompletedLocalInitialization |
int |
annotationCount |
RecoveredAnnotation[] |
annotations |
LocalDeclaration |
localDeclaration |
int |
modifiers |
int |
modifiersStart |
statementbracketBalance, foundOpeningBrace, lambdaNestLevel, parent, recoveringParser| Constructor and Description |
|---|
RecoveredLocalVariable(LocalDeclaration localDeclaration,
RecoveredElement parent,
int bracketBalance) |
| Modifier and Type | Method and Description |
|---|---|
RecoveredElement |
add(Statement stmt,
int bracketBalanceValue) |
void |
attach(RecoveredAnnotation[] annots,
int annotCount,
int mods,
int modsSourceStart) |
ASTNode |
parseTree() |
int |
sourceEnd() |
java.lang.String |
toString(int tab) |
Statement |
updatedStatement(int depth,
java.util.Set knownTypes) |
RecoveredElement |
updateOnClosingBrace(int braceStart,
int braceEnd) |
RecoveredElement |
updateOnOpeningBrace(int braceStart,
int braceEnd) |
void |
updateParseTree() |
void |
updateSourceEndIfNecessary(int bodyStart,
int bodyEnd) |
add, add, add, add, add, add, addAnnotationName, addBlockStatement, addModifier, depth, enclosingInitializer, enclosingMethod, enclosingType, parser, preserveEnclosingBlocks, previousAvailableLineEnd, resetPendingModifiers, tabString, topElement, toString, type, updateBodyStart, updateFromParserState, updateSourceEndIfNecessarypublic RecoveredAnnotation[] annotations
public int annotationCount
public int modifiers
public int modifiersStart
public LocalDeclaration localDeclaration
public boolean alreadyCompletedLocalInitialization
public RecoveredLocalVariable(LocalDeclaration localDeclaration, RecoveredElement parent, int bracketBalance)
public RecoveredElement add(Statement stmt, int bracketBalanceValue)
add in class RecoveredElementpublic void attach(RecoveredAnnotation[] annots, int annotCount, int mods, int modsSourceStart)
public ASTNode parseTree()
parseTree in class RecoveredStatementpublic int sourceEnd()
sourceEnd in class RecoveredStatementpublic java.lang.String toString(int tab)
toString in class RecoveredStatementpublic Statement updatedStatement(int depth, java.util.Set knownTypes)
updatedStatement in class RecoveredStatementpublic RecoveredElement updateOnClosingBrace(int braceStart, int braceEnd)
updateOnClosingBrace in class RecoveredStatementpublic RecoveredElement updateOnOpeningBrace(int braceStart, int braceEnd)
updateOnOpeningBrace in class RecoveredElementpublic void updateParseTree()
updateParseTree in class RecoveredStatementpublic void updateSourceEndIfNecessary(int bodyStart,
int bodyEnd)
updateSourceEndIfNecessary in class RecoveredStatement