AST
node type MemberClassDecl

General Info

Production
MemberClassDecl : MemberTypeDecl ::= ClassDecl;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<ASTNode>
          extended by AST.BodyDecl
              extended by AST.MemberDecl
                  extended by AST.MemberTypeDecl
                      extended by AST.MemberClassDecl
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>

Description

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

Member Filters

API level:

Aspect:

Constructors

 

Attributes

Specified by:typeDecl in class MemberTypeDecl
Source
Declared in Java1.4Frontend/LookupType.jrag at line 484
Aspect
TypeScopePropagation

Methods

public void flushCache()
Overrides:flushCache in class MemberTypeDecl
public void flushCollectionCache()
public MemberClassDecl clone()
                      throws java.lang.CloneNotSupportedException
Overrides:clone in class MemberTypeDecl
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 toString(java.lang.StringBuffer s)
Overrides:toString in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/PrettyPrint.jadd at line 206
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 MemberTypeDecl
protected int numChildren()
Overrides:numChildren in class MemberTypeDecl
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class MemberTypeDecl
public void setClassDecl(ClassDecl node)
Replaces the ClassDecl child.
Parameters:
node - The new node to replace the ClassDecl child.
Retrieves the ClassDecl child.
Returns:
The current node used as the ClassDecl child.
Retrieves the ClassDecl child.

This method does not invoke AST transformations.

Returns:
The current node used as the ClassDecl child.
public boolean Define_boolean_isMemberType(ASTNode caller,
                                           ASTNode child)
Overrides:Define_boolean_isMemberType in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/TypeAnalysis.jrag at line 527
public boolean Define_boolean_inStaticContext(ASTNode caller,
                                              ASTNode child)
Overrides:Define_boolean_inStaticContext in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/TypeHierarchyCheck.jrag at line 145
Overrides:rewriteTo in class MemberTypeDecl

Inherited Members

Attributes inherited from AST.MemberTypeDecl

Attributes inherited from AST.MemberDecl

Attributes inherited from AST.BodyDecl

Attributes inherited from AST.ASTNode

Methods inherited from class AST.MemberDecl

Methods inherited from class AST.BodyDecl

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.BodyDecl

Fields inherited from AST.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value