CompilationUnit;- Type Hierarchy:
java.lang.Object
beaver.Symbol
AST.ASTNode<ASTNode>
AST.CompilationUnit
AST.WildcardsCompilationUnit
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Iterable<ASTNode>
|
|||||||
| FRAMES NO FRAMES | |||||||
CompilationUnit;java.lang.Objectbeaver.Symbol
AST.ASTNode<ASTNode>
AST.CompilationUnit
AST.WildcardsCompilationUnit
Java1.5Frontend/Generics.ast at line 49public WildcardsCompilationUnit()
public WildcardsCompilationUnit(java.lang.String p0, List<ImportDecl> p1, List<TypeDecl> p2)
public WildcardsCompilationUnit(beaver.Symbol p0, List<ImportDecl> p1, List<TypeDecl> p2)
syn TypeDecl typeWildcard()
Java1.5Frontend/Generics.jrag at line 1376
syn TypeDecl lookupWildcardExtends(TypeDecl bound)
Java1.5Frontend/Generics.jrag at line 1387
syn TypeDecl lookupWildcardSuper(TypeDecl bound)
Java1.5Frontend/Generics.jrag at line 1400
syn LUBType lookupLUBType(java.util.Collection bounds)
Java1.5Frontend/Generics.jrag at line 1413
syn GLBType lookupGLBType(java.util.ArrayList bounds)
Java1.5Frontend/Generics.jrag at line 1452
public void flushCache()
flushCache in class CompilationUnitpublic void flushCollectionCache()
flushCollectionCache in class CompilationUnitpublic WildcardsCompilationUnit clone() throws java.lang.CloneNotSupportedException
clone in class CompilationUnitjava.lang.CloneNotSupportedExceptionpublic WildcardsCompilationUnit copy()
copy in class CompilationUnitpublic WildcardsCompilationUnit fullCopy()
fullCopy in class CompilationUnitpublic static LUBType createLUBType(java.util.Collection bounds)
Java1.5Frontend/Generics.jrag at line 1414
public void init$Children()
init$Children in class CompilationUnitprotected int numChildren()
numChildren in class CompilationUnitpublic boolean mayHaveRewrite()
mayHaveRewrite in class CompilationUnitpublic void setPackageDecl(java.lang.String value)
setPackageDecl in class CompilationUnitvalue - The new value for the lexeme PackageDecl.public void setPackageDecl(beaver.Symbol symbol)
setPackageDecl in class CompilationUnitpublic java.lang.String getPackageDecl()
getPackageDecl in class CompilationUnitpublic void setImportDeclList(List<ImportDecl> list)
setImportDeclList in class CompilationUnitlist - The new list node to be used as the ImportDecl list.public int getNumImportDecl()
getNumImportDecl in class CompilationUnitpublic int getNumImportDeclNoTransform()
getNumImportDeclNoTransform in class CompilationUnitpublic ImportDecl getImportDecl(int i)
i in the ImportDecl list..getImportDecl in class CompilationUniti - Index of the element to return.
i in the ImportDecl list.public void addImportDecl(ImportDecl node)
addImportDecl in class CompilationUnitnode - The element to append to the ImportDecl list.public void addImportDeclNoTransform(ImportDecl node)
addImportDeclNoTransform in class CompilationUnitpublic void setImportDecl(ImportDecl node, int i)
i with the new node node.setImportDecl in class CompilationUnitnode - The new node to replace the old list element.i - The list index of the node to be replaced.public List<ImportDecl> getImportDecls()
getImportDecls in class CompilationUnitpublic List<ImportDecl> getImportDeclsNoTransform()
This method does not invoke AST transformations.
getImportDeclsNoTransform in class CompilationUnitpublic List<ImportDecl> getImportDeclList()
getImportDeclList in class CompilationUnitpublic List<ImportDecl> getImportDeclListNoTransform()
This method does not invoke AST transformations.
getImportDeclListNoTransform in class CompilationUnitpublic void setTypeDeclList(List<TypeDecl> list)
setTypeDeclList in class CompilationUnitlist - The new list node to be used as the TypeDecl list.public int getNumTypeDecl()
getNumTypeDecl in class CompilationUnitpublic int getNumTypeDeclNoTransform()
getNumTypeDeclNoTransform in class CompilationUnitpublic TypeDecl getTypeDecl(int i)
i in the TypeDecl list..getTypeDecl in class CompilationUniti - Index of the element to return.
i in the TypeDecl list.public void addTypeDecl(TypeDecl node)
addTypeDecl in class CompilationUnitnode - The element to append to the TypeDecl list.public void addTypeDeclNoTransform(TypeDecl node)
addTypeDeclNoTransform in class CompilationUnitpublic void setTypeDecl(TypeDecl node, int i)
i with the new node node.setTypeDecl in class CompilationUnitnode - The new node to replace the old list element.i - The list index of the node to be replaced.public List<TypeDecl> getTypeDecls()
getTypeDecls in class CompilationUnitpublic List<TypeDecl> getTypeDeclsNoTransform()
This method does not invoke AST transformations.
getTypeDeclsNoTransform in class CompilationUnitpublic List<TypeDecl> getTypeDeclList()
getTypeDeclList in class CompilationUnitpublic List<TypeDecl> getTypeDeclListNoTransform()
This method does not invoke AST transformations.
getTypeDeclListNoTransform in class CompilationUnitrewriteTo in class CompilationUnitprotected boolean typeWildcard_computed
protected TypeDecl typeWildcard_value
protected java.util.Map lookupWildcardExtends_TypeDecl_values
protected List lookupWildcardExtends_TypeDecl_list
protected java.util.Map lookupWildcardSuper_TypeDecl_values
protected List lookupWildcardSuper_TypeDecl_list
protected java.util.Map lookupLUBType_Collection_values
protected List lookupLUBType_Collection_list
protected java.util.Map lookupGLBType_ArrayList_values
protected List lookupGLBType_ArrayList_list
|
|||||||
| FRAMES NO FRAMES | |||||||