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 49
public 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 CompilationUnit
public void flushCollectionCache()
flushCollectionCache
in class CompilationUnit
public WildcardsCompilationUnit clone() throws java.lang.CloneNotSupportedException
clone
in class CompilationUnit
java.lang.CloneNotSupportedException
public WildcardsCompilationUnit copy()
copy
in class CompilationUnit
public WildcardsCompilationUnit fullCopy()
fullCopy
in class CompilationUnit
public static LUBType createLUBType(java.util.Collection bounds)
Java1.5Frontend/Generics.jrag
at line 1414
public void init$Children()
init$Children
in class CompilationUnit
protected int numChildren()
numChildren
in class CompilationUnit
public boolean mayHaveRewrite()
mayHaveRewrite
in class CompilationUnit
public void setPackageDecl(java.lang.String value)
setPackageDecl
in class CompilationUnit
value
- The new value for the lexeme PackageDecl.public void setPackageDecl(beaver.Symbol symbol)
setPackageDecl
in class CompilationUnit
public java.lang.String getPackageDecl()
getPackageDecl
in class CompilationUnit
public void setImportDeclList(List<ImportDecl> list)
setImportDeclList
in class CompilationUnit
list
- The new list node to be used as the ImportDecl list.public int getNumImportDecl()
getNumImportDecl
in class CompilationUnit
public int getNumImportDeclNoTransform()
getNumImportDeclNoTransform
in class CompilationUnit
public ImportDecl getImportDecl(int i)
i
in the ImportDecl list..getImportDecl
in class CompilationUnit
i
- Index of the element to return.
i
in the ImportDecl list.public void addImportDecl(ImportDecl node)
addImportDecl
in class CompilationUnit
node
- The element to append to the ImportDecl list.public void addImportDeclNoTransform(ImportDecl node)
addImportDeclNoTransform
in class CompilationUnit
public void setImportDecl(ImportDecl node, int i)
i
with the new node node
.setImportDecl
in class CompilationUnit
node
- 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 CompilationUnit
public List<ImportDecl> getImportDeclsNoTransform()
This method does not invoke AST transformations.
getImportDeclsNoTransform
in class CompilationUnit
public List<ImportDecl> getImportDeclList()
getImportDeclList
in class CompilationUnit
public List<ImportDecl> getImportDeclListNoTransform()
This method does not invoke AST transformations.
getImportDeclListNoTransform
in class CompilationUnit
public void setTypeDeclList(List<TypeDecl> list)
setTypeDeclList
in class CompilationUnit
list
- The new list node to be used as the TypeDecl list.public int getNumTypeDecl()
getNumTypeDecl
in class CompilationUnit
public int getNumTypeDeclNoTransform()
getNumTypeDeclNoTransform
in class CompilationUnit
public TypeDecl getTypeDecl(int i)
i
in the TypeDecl list..getTypeDecl
in class CompilationUnit
i
- Index of the element to return.
i
in the TypeDecl list.public void addTypeDecl(TypeDecl node)
addTypeDecl
in class CompilationUnit
node
- The element to append to the TypeDecl list.public void addTypeDeclNoTransform(TypeDecl node)
addTypeDeclNoTransform
in class CompilationUnit
public void setTypeDecl(TypeDecl node, int i)
i
with the new node node
.setTypeDecl
in class CompilationUnit
node
- 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 CompilationUnit
public List<TypeDecl> getTypeDeclsNoTransform()
This method does not invoke AST transformations.
getTypeDeclsNoTransform
in class CompilationUnit
public List<TypeDecl> getTypeDeclList()
getTypeDeclList
in class CompilationUnit
public List<TypeDecl> getTypeDeclListNoTransform()
This method does not invoke AST transformations.
getTypeDeclListNoTransform
in class CompilationUnit
rewriteTo
in class CompilationUnit
protected 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 |