AST
node type TypeImportOnDemandDecl

General Info

Production
TypeImportOnDemandDecl : ImportDecl;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<ASTNode>
          extended by AST.ImportDecl
              extended by AST.TypeImportOnDemandDecl
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>

Description

Source
Declared in Java1.4Frontend/java.ast at line 12

Member Filters

API level:

Aspect:

Constructors

Attributes

syn SimpleSet importedTypes(java.lang.String name)
Overrides:importedTypes in class ImportDecl
Source
Declared in Java1.4Frontend/LookupType.jrag at line 329
Aspect
TypeScopePropagation
syn boolean isOnDemand()
Overrides:isOnDemand in class ImportDecl
Source
Declared in Java1.4Frontend/LookupType.jrag at line 351
Aspect
TypeScopePropagation
inh TypeDecl lookupType(java.lang.String packageName,
                    java.lang.String typeName)
Source
Declared in Java1.4Frontend/LookupType.jrag at line 348
Aspect
TypeScopePropagation

Methods

public void flushCache()
Overrides:flushCache in class ImportDecl
public void flushCollectionCache()
Overrides:flushCollectionCache in class ImportDecl
public TypeImportOnDemandDecl clone()
                             throws java.lang.CloneNotSupportedException
Overrides:clone in class ImportDecl
Throws:
java.lang.CloneNotSupportedException
Overrides:copy in class ASTNode<ASTNode>
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:fullCopy in class ASTNode<ASTNode>
Returns:
dangling copy of the subtree at this node
public void nameCheck()
Overrides:nameCheck in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/NameCheck.jrag at line 30
Aspect
NameCheck
public void toString(java.lang.StringBuffer s)
Overrides:toString in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/PrettyPrint.jadd at line 56
Aspect
PrettyPrint
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.
Overrides:Define_NameType_nameType in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/SyntacticClassification.jrag at line 107
Overrides:rewriteTo in class ImportDecl

Fields

protected java.util.Map importedTypes_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.ImportDecl

Fields inherited from AST.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value