public class RecoveredField extends RecoveredElement
| Modifier and Type | Field and Description |
|---|---|
int |
annotationCount |
RecoveredAnnotation[] |
annotations |
int |
anonymousTypeCount |
RecoveredType[] |
anonymousTypes |
FieldDeclaration |
fieldDeclaration |
int |
modifiers |
int |
modifiersStart |
bracketBalance, foundOpeningBrace, lambdaNestLevel, parent, recoveringParser| Constructor and Description |
|---|
RecoveredField(FieldDeclaration fieldDeclaration,
RecoveredElement parent,
int bracketBalance) |
RecoveredField(FieldDeclaration fieldDeclaration,
RecoveredElement parent,
int bracketBalance,
Parser parser) |
| Modifier and Type | Method and Description |
|---|---|
RecoveredElement |
add(FieldDeclaration addedfieldDeclaration,
int bracketBalanceValue) |
RecoveredElement |
add(LocalDeclaration localDeclaration,
int bracketBalanceValue) |
RecoveredElement |
add(Statement statement,
int bracketBalanceValue) |
RecoveredElement |
add(TypeDeclaration typeDeclaration,
int bracketBalanceValue) |
void |
attach(RecoveredAnnotation[] annots,
int annotCount,
int mods,
int modsSourceStart) |
ASTNode |
parseTree() |
int |
sourceEnd() |
java.lang.String |
toString(int tab) |
FieldDeclaration |
updatedFieldDeclaration(int depth,
java.util.Set<TypeDeclaration> knownTypes) |
RecoveredElement |
updateOnClosingBrace(int braceStart,
int braceEnd) |
RecoveredElement |
updateOnOpeningBrace(int braceStart,
int braceEnd) |
void |
updateParseTree() |
void |
updateSourceEndIfNecessary(int bodyStart,
int bodyEnd) |
add, add, add, addAnnotationName, addBlockStatement, addModifier, depth, enclosingInitializer, enclosingMethod, enclosingType, parser, preserveEnclosingBlocks, previousAvailableLineEnd, resetPendingModifiers, tabString, topElement, toString, type, updateBodyStart, updateFromParserState, updateSourceEndIfNecessarypublic FieldDeclaration fieldDeclaration
public RecoveredAnnotation[] annotations
public int annotationCount
public int modifiers
public int modifiersStart
public RecoveredType[] anonymousTypes
public int anonymousTypeCount
public RecoveredField(FieldDeclaration fieldDeclaration, RecoveredElement parent, int bracketBalance)
public RecoveredField(FieldDeclaration fieldDeclaration, RecoveredElement parent, int bracketBalance, Parser parser)
public RecoveredElement add(LocalDeclaration localDeclaration, int bracketBalanceValue)
add in class RecoveredElementpublic RecoveredElement add(FieldDeclaration addedfieldDeclaration, int bracketBalanceValue)
add in class RecoveredElementpublic RecoveredElement add(Statement statement, int bracketBalanceValue)
add in class RecoveredElementpublic RecoveredElement add(TypeDeclaration typeDeclaration, int bracketBalanceValue)
add in class RecoveredElementpublic void attach(RecoveredAnnotation[] annots, int annotCount, int mods, int modsSourceStart)
public ASTNode parseTree()
parseTree in class RecoveredElementpublic int sourceEnd()
sourceEnd in class RecoveredElementpublic java.lang.String toString(int tab)
toString in class RecoveredElementpublic FieldDeclaration updatedFieldDeclaration(int depth, java.util.Set<TypeDeclaration> knownTypes)
public RecoveredElement updateOnClosingBrace(int braceStart, int braceEnd)
updateOnClosingBrace in class RecoveredElementpublic RecoveredElement updateOnOpeningBrace(int braceStart, int braceEnd)
updateOnOpeningBrace in class RecoveredElementpublic void updateParseTree()
updateParseTree in class RecoveredElementpublic void updateSourceEndIfNecessary(int bodyStart,
int bodyEnd)
updateSourceEndIfNecessary in class RecoveredElement