org.extendj.ast
node type StaticImportDecl

General Info

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

Description

7.5 Import Declarations
Source
Declared in /home/jesper/git/extendj/java5/grammar/StaticImports.ast at line 4

Member Filters

API level:

Aspect:

Constructors

public StaticImportDecl()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public StaticImportDecl(Access p0)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 13

Attributes

Source
Declared in /home/jesper/git/extendj/java5/frontend/StaticImports.jrag at line 95
Aspect
StaticImports
@ASTNodeAnnotation.Attribute
syn org.extendj.ast.SimpleSet importedTypes(java.lang.String name)
Overrides:importedTypes in class ImportDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupType.jrag at line 420
Aspect
TypeScopePropagation
@ASTNodeAnnotation.Attribute
syn org.extendj.ast.SimpleSet importedFields(java.lang.String name)
Overrides:importedFields in class ImportDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/StaticImports.jrag at line 55
Aspect
StaticImports
@ASTNodeAnnotation.Attribute
syn java.util.Collection importedMethods(java.lang.String name)
Overrides:importedMethods in class ImportDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/StaticImports.jrag at line 75
Aspect
StaticImports

Methods

public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class ImportDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class ImportDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 19
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class ImportDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 25
public void flushAttrCache()
Overrides:flushAttrCache in class ImportDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 31
public void flushCollectionCache()
Overrides:flushCollectionCache in class ImportDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 40
public void flushRewriteCache()
Overrides:flushRewriteCache in class ImportDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 46
public StaticImportDecl clone()
                       throws java.lang.CloneNotSupportedException
Overrides:clone in class ImportDecl
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 52
@Deprecated
public abstract StaticImportDecl fullCopy()
Deprecated. Please use treeCopy or treeCopyNoTransform instead

Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.

Specified by:fullCopy in class ImportDecl
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 63
public abstract StaticImportDecl treeCopyNoTransform()
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Specified by:treeCopyNoTransform in class ImportDecl
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 71
public abstract StaticImportDecl treeCopy()
Create a deep copy of the AST subtree at this node. The subtree of this node is traversed to trigger rewrites before copy. The copy is dangling, i.e. has no parent.
Specified by:treeCopy in class ImportDecl
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 79
public void setAccess(Access node)
Replaces the Access child.
Overrides:setAccess in class ImportDecl
Parameters:
node - The new node to replace the Access child.
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.
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 org.extendj.ast.ImportDecl

Attributes inherited from org.extendj.ast.ASTNode

Methods inherited from class org.extendj.ast.ImportDecl

Methods inherited from class org.extendj.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 org.extendj.ast.ImportDecl

Fields inherited from org.extendj.ast.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value