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

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

public class RecoveredAnnotation
extends RecoveredElement


Field Summary
 Annotation annotation
           
 boolean hasPendingMemberValueName
           
static int MARKER
           
 int memberValuPairEqualEnd
           
static int NORMAL
           
static int SINGLE_MEMBER
           
 
Fields inherited from class org.eclipse.jdt.internal.compiler.parser.RecoveredElement
bracketBalance, foundOpeningBrace, parent
 
Constructor Summary
RecoveredAnnotation(int identifierPtr, int identifierLengthPtr, int sourceStart, RecoveredElement parent, int bracketBalance)
           
 
Method Summary
 RecoveredElement add(TypeDeclaration typeDeclaration, int bracketBalanceValue)
           
 RecoveredElement addAnnotation(Annotation annot, int index)
           
 RecoveredElement addAnnotationName(int identPtr, int identLengthPtr, int annotationStart, int bracketBalanceValue)
           
 ASTNode parseTree()
           
 void resetPendingModifiers()
           
 void setKind(int kind)
           
 int sourceEnd()
           
 java.lang.String toString(int tab)
           
 Annotation updatedAnnotationReference()
           
 void updateFromParserState()
           
 RecoveredElement updateOnClosingBrace(int braceStart, int braceEnd)
           
 void updateParseTree()
           
 
Methods inherited from class org.eclipse.jdt.internal.compiler.parser.RecoveredElement
add, add, add, add, add, add, addModifier, depth, enclosingInitializer, enclosingMethod, enclosingType, parser, preserveEnclosingBlocks, previousAvailableLineEnd, topElement, toString, type, updateBodyStart, updateOnOpeningBrace, updateSourceEndIfNecessary, updateSourceEndIfNecessary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MARKER

public static final int MARKER
See Also:
Constant Field Values

NORMAL

public static final int NORMAL
See Also:
Constant Field Values

SINGLE_MEMBER

public static final int SINGLE_MEMBER
See Also:
Constant Field Values

hasPendingMemberValueName

public boolean hasPendingMemberValueName

memberValuPairEqualEnd

public int memberValuPairEqualEnd

annotation

public Annotation annotation
Constructor Detail

RecoveredAnnotation

public RecoveredAnnotation(int identifierPtr,
                           int identifierLengthPtr,
                           int sourceStart,
                           RecoveredElement parent,
                           int bracketBalance)
Method Detail

add

public RecoveredElement add(TypeDeclaration typeDeclaration,
                            int bracketBalanceValue)
Overrides:
add in class RecoveredElement

addAnnotationName

public RecoveredElement addAnnotationName(int identPtr,
                                          int identLengthPtr,
                                          int annotationStart,
                                          int bracketBalanceValue)
Overrides:
addAnnotationName in class RecoveredElement

addAnnotation

public RecoveredElement addAnnotation(Annotation annot,
                                      int index)

updateFromParserState

public void updateFromParserState()
Overrides:
updateFromParserState in class RecoveredElement

parseTree

public ASTNode parseTree()
Overrides:
parseTree in class RecoveredElement

resetPendingModifiers

public void resetPendingModifiers()
Overrides:
resetPendingModifiers in class RecoveredElement

setKind

public void setKind(int kind)

sourceEnd

public int sourceEnd()
Overrides:
sourceEnd in class RecoveredElement

toString

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

updatedAnnotationReference

public Annotation updatedAnnotationReference()

updateOnClosingBrace

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

updateParseTree

public void updateParseTree()
Overrides:
updateParseTree in class RecoveredElement