org.eclipse.jdt.internal.compiler.parser
Class RecoveredLocalVariable

java.lang.Object
  extended by org.eclipse.jdt.internal.compiler.parser.RecoveredElement
      extended by org.eclipse.jdt.internal.compiler.parser.RecoveredStatement
          extended by org.eclipse.jdt.internal.compiler.parser.RecoveredLocalVariable

public class RecoveredLocalVariable
extends RecoveredStatement


Field Summary
 int annotationCount
           
 RecoveredAnnotation[] annotations
           
 LocalDeclaration localDeclaration
           
 int modifiers
           
 int modifiersStart
           
 
Fields inherited from class org.eclipse.jdt.internal.compiler.parser.RecoveredStatement
statement
 
Fields inherited from class org.eclipse.jdt.internal.compiler.parser.RecoveredElement
bracketBalance, foundOpeningBrace, parent
 
Constructor Summary
RecoveredLocalVariable(LocalDeclaration localDeclaration, RecoveredElement parent, int bracketBalance)
           
 
Method Summary
 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()
           
 RecoveredElement updateOnClosingBrace(int braceStart, int braceEnd)
           
 RecoveredElement updateOnOpeningBrace(int braceStart, int braceEnd)
           
 void updateParseTree()
           
 void updateSourceEndIfNecessary(int bodyStart, int bodyEnd)
           
 
Methods inherited from class org.eclipse.jdt.internal.compiler.parser.RecoveredElement
add, add, add, add, add, add, addAnnotationName, addModifier, depth, enclosingInitializer, enclosingMethod, enclosingType, parser, preserveEnclosingBlocks, previousAvailableLineEnd, resetPendingModifiers, topElement, toString, type, updateBodyStart, updateFromParserState, updateSourceEndIfNecessary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

annotations

public RecoveredAnnotation[] annotations

annotationCount

public int annotationCount

modifiers

public int modifiers

modifiersStart

public int modifiersStart

localDeclaration

public LocalDeclaration localDeclaration
Constructor Detail

RecoveredLocalVariable

public RecoveredLocalVariable(LocalDeclaration localDeclaration,
                              RecoveredElement parent,
                              int bracketBalance)
Method Detail

add

public RecoveredElement add(Statement stmt,
                            int bracketBalanceValue)
Overrides:
add in class RecoveredElement

attach

public void attach(RecoveredAnnotation[] annots,
                   int annotCount,
                   int mods,
                   int modsSourceStart)

parseTree

public ASTNode parseTree()
Overrides:
parseTree in class RecoveredStatement

sourceEnd

public int sourceEnd()
Overrides:
sourceEnd in class RecoveredStatement

toString

public java.lang.String toString(int tab)
Overrides:
toString in class RecoveredStatement

updatedStatement

public Statement updatedStatement()
Overrides:
updatedStatement in class RecoveredStatement

updateOnClosingBrace

public RecoveredElement updateOnClosingBrace(int braceStart,
                                             int braceEnd)
Overrides:
updateOnClosingBrace in class RecoveredElement

updateOnOpeningBrace

public RecoveredElement updateOnOpeningBrace(int braceStart,
                                             int braceEnd)
Overrides:
updateOnOpeningBrace in class RecoveredElement

updateParseTree

public void updateParseTree()
Overrides:
updateParseTree in class RecoveredStatement

updateSourceEndIfNecessary

public void updateSourceEndIfNecessary(int bodyStart,
                                       int bodyEnd)
Overrides:
updateSourceEndIfNecessary in class RecoveredStatement