org.eclipse.jdt.internal.compiler.parser
类 RecoveredUnit

java.lang.Object
  继承者 org.eclipse.jdt.internal.compiler.parser.RecoveredElement
      继承者 org.eclipse.jdt.internal.compiler.parser.RecoveredUnit

public class RecoveredUnit
extends RecoveredElement


字段摘要
 int importCount
           
 RecoveredImport[] imports
           
 int typeCount
           
 RecoveredType[] types
           
 CompilationUnitDeclaration unitDeclaration
           
 
从类 org.eclipse.jdt.internal.compiler.parser.RecoveredElement 继承的字段
bracketBalance, foundOpeningBrace, parent, recoveringParser
 
构造方法摘要
RecoveredUnit(CompilationUnitDeclaration unitDeclaration, int bracketBalance, Parser parser)
           
 
方法摘要
 RecoveredElement add(AbstractMethodDeclaration methodDeclaration, int bracketBalanceValue)
           
 RecoveredElement add(FieldDeclaration fieldDeclaration, int bracketBalanceValue)
           
 RecoveredElement add(ImportReference importReference, int bracketBalanceValue)
           
 RecoveredElement add(TypeDeclaration typeDeclaration, int bracketBalanceValue)
           
 RecoveredElement addAnnotationName(int identifierPtr, int identifierLengthPtr, int annotationStart, int bracketBalanceValue)
           
 void addModifier(int flag, int modifiersSourceStart)
           
 ASTNode parseTree()
           
 void resetPendingModifiers()
           
 int sourceEnd()
           
 String toString(int tab)
           
 CompilationUnitDeclaration updatedCompilationUnitDeclaration()
           
 void updateParseTree()
           
 void updateSourceEndIfNecessary(int bodyStart, int bodyEnd)
           
 
从类 org.eclipse.jdt.internal.compiler.parser.RecoveredElement 继承的方法
add, add, add, addBlockStatement, depth, enclosingInitializer, enclosingMethod, enclosingType, parser, preserveEnclosingBlocks, previousAvailableLineEnd, tabString, topElement, toString, type, updateBodyStart, updateFromParserState, updateOnClosingBrace, updateOnOpeningBrace, updateSourceEndIfNecessary
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

unitDeclaration

public CompilationUnitDeclaration unitDeclaration

imports

public RecoveredImport[] imports

importCount

public int importCount

types

public RecoveredType[] types

typeCount

public int typeCount
构造方法详细信息

RecoveredUnit

public RecoveredUnit(CompilationUnitDeclaration unitDeclaration,
                     int bracketBalance,
                     Parser parser)
方法详细信息

addAnnotationName

public RecoveredElement addAnnotationName(int identifierPtr,
                                          int identifierLengthPtr,
                                          int annotationStart,
                                          int bracketBalanceValue)
覆盖:
RecoveredElement 中的 addAnnotationName

addModifier

public void addModifier(int flag,
                        int modifiersSourceStart)
覆盖:
RecoveredElement 中的 addModifier

add

public RecoveredElement add(AbstractMethodDeclaration methodDeclaration,
                            int bracketBalanceValue)
覆盖:
RecoveredElement 中的 add

add

public RecoveredElement add(FieldDeclaration fieldDeclaration,
                            int bracketBalanceValue)
覆盖:
RecoveredElement 中的 add

add

public RecoveredElement add(ImportReference importReference,
                            int bracketBalanceValue)
覆盖:
RecoveredElement 中的 add

add

public RecoveredElement add(TypeDeclaration typeDeclaration,
                            int bracketBalanceValue)
覆盖:
RecoveredElement 中的 add

parseTree

public ASTNode parseTree()
覆盖:
RecoveredElement 中的 parseTree

resetPendingModifiers

public void resetPendingModifiers()
覆盖:
RecoveredElement 中的 resetPendingModifiers

sourceEnd

public int sourceEnd()
覆盖:
RecoveredElement 中的 sourceEnd

toString

public String toString(int tab)
覆盖:
RecoveredElement 中的 toString

updatedCompilationUnitDeclaration

public CompilationUnitDeclaration updatedCompilationUnitDeclaration()

updateParseTree

public void updateParseTree()
覆盖:
RecoveredElement 中的 updateParseTree

updateSourceEndIfNecessary

public void updateSourceEndIfNecessary(int bodyStart,
                                       int bodyEnd)
覆盖:
RecoveredElement 中的 updateSourceEndIfNecessary


Copyright © 2013. All Rights Reserved.