AST
node type StaticImportDecl

General Info

Production
StaticImportDecl : ImportDecl;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<ASTNode>
          extended by AST.ImportDecl
              extended by AST.StaticImportDecl
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>
Direct Known Subclasses:
SingleStaticImportDecl, StaticImportOnDemandDecl

Description

7.5 Import Declarations
Source
Declared in Java1.5Frontend/StaticImports.ast at line 4

Member Filters

API level:

Aspect:

Constructors

 
 

Attributes

syn TypeDecl type()
Source
Declared in Java1.5Frontend/StaticImports.jrag at line 53
Aspect
StaticImports
syn SimpleSet importedFields(java.lang.String name)
Overrides:importedFields in class ImportDecl
Source
Declared in Java1.5Frontend/StaticImports.jrag at line 31
Aspect
StaticImports
syn java.util.Collection importedMethods(java.lang.String name)
Overrides:importedMethods in class ImportDecl
Source
Declared in Java1.5Frontend/StaticImports.jrag at line 42
Aspect
StaticImports

Methods

public void flushCache()
Overrides:flushCache in class ImportDecl
public void flushCollectionCache()
Overrides:flushCollectionCache in class ImportDecl
public StaticImportDecl clone()
                       throws java.lang.CloneNotSupportedException
Overrides:clone in class ImportDecl
Throws:
java.lang.CloneNotSupportedException
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class ImportDecl
protected int numChildren()
Overrides:numChildren in class ImportDecl
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class ImportDecl
public void setAccess(Access node)
Replaces the Access child.
Overrides:setAccess in class ImportDecl
Parameters:
node - The new node to replace the Access child.
public Access getAccess()
Retrieves the Access child.
Overrides:getAccess in class ImportDecl
Returns:
The current node used as the Access child.
Retrieves the Access child.

This method does not invoke AST transformations.

Overrides:getAccessNoTransform in class ImportDecl
Returns:
The current node used as the Access child.
public SimpleSet importedTypes(java.lang.String name)
Overrides:rewriteTo in class ImportDecl

Fields

protected java.util.Map importedTypes_String_values
protected java.util.Map importedFields_String_values
protected java.util.Map importedMethods_String_values

Inherited Members

Attributes inherited from AST.ImportDecl

Attributes inherited from AST.ASTNode

Methods inherited from class AST.ImportDecl

Methods inherited from class AST.ASTNode

Methods inherited from class beaver.Symbol

getColumn
getEnd
getId
getLine
getStart
makePosition

Methods inherited from class java.lang.Object

equals
finalize
getClass
hashCode
notify
notifyAll
wait
wait
wait

Fields inherited from AST.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value