org.extendj.ast
node type MemberClassDecl

General Info

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

Description

Source
Declared in /home/jesper/git/extendj/java4/grammar/Java.ast at line 96

Member Filters

API level:

Aspect:

Constructors

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

Attributes

Specified by:typeDecl in class MemberTypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupType.jrag at line 604
Aspect
TypeScopePropagation
@ASTNodeAnnotation.Attribute
syn boolean modifiedInScope(org.extendj.ast.Variable var)
Overrides:modifiedInScope in class BodyDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/EffectivelyFinal.jrag at line 40
Aspect
PreciseRethrow

Methods

public void prettyPrint(org.jastadd.util.PrettyPrinter out)
Specified by:prettyPrint in interface org.jastadd.util.PrettyPrintableOverrides:prettyPrint in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/PrettyPrint.jadd at line 299
Aspect
Java4PrettyPrint
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class MemberTypeDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class MemberTypeDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 19
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class MemberTypeDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 25
public void flushAttrCache()
Overrides:flushAttrCache in class MemberTypeDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 31
public void flushCollectionCache()
Overrides:flushCollectionCache in class MemberTypeDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 37
public void flushRewriteCache()
Overrides:flushRewriteCache in class MemberTypeDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 43
public MemberClassDecl clone()
                      throws java.lang.CloneNotSupportedException
Overrides:clone in class MemberTypeDecl
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 49
public MemberClassDecl copy()
Overrides:copy in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 56
@Deprecated
public MemberClassDecl 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 MemberTypeDecl
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 75
public MemberClassDecl 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 MemberTypeDecl
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 85
public MemberClassDecl 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 MemberTypeDecl
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 105
protected boolean is$Equal(ASTNode node)
Overrides:is$Equal in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 112
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_isMemberType(ASTNode caller,
                                   ASTNode child)
Overrides:Define_isMemberType in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 577
protected boolean canDefine_isMemberType(ASTNode caller,
                                         ASTNode child)
public boolean Define_inStaticContext(ASTNode caller,
                                      ASTNode child)
Overrides:Define_inStaticContext in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeHierarchyCheck.jrag at line 182
protected boolean canDefine_inStaticContext(ASTNode caller,
                                            ASTNode child)
Overrides:rewriteTo in class MemberTypeDecl

Inherited Members

Attributes inherited from org.extendj.ast.MemberTypeDecl

Attributes inherited from org.extendj.ast.MemberDecl

Attributes inherited from org.extendj.ast.BodyDecl

Attributes inherited from org.extendj.ast.ASTNode

Methods inherited from class org.extendj.ast.MemberDecl

Methods inherited from class org.extendj.ast.BodyDecl

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

Fields inherited from org.extendj.ast.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value