org.extendj.ast
node type MemberInterfaceDecl

General Info

Production
MemberInterfaceDecl : MemberTypeDecl ::= InterfaceDecl;
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.MemberInterfaceDecl
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 97

Member Filters

API level:

Aspect:

Constructors

public MemberInterfaceDecl()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public MemberInterfaceDecl(InterfaceDecl 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 checkModifiers()
Overrides:checkModifiers in class MemberDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/Modifiers.jrag at line 225
Aspect
Modifiers
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 119
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 MemberInterfaceDecl 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 MemberInterfaceDecl copy()
Overrides:copy in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 56
@Deprecated
public MemberInterfaceDecl 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 MemberInterfaceDecl 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 MemberInterfaceDecl 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 setInterfaceDecl(InterfaceDecl node)
Replaces the InterfaceDecl child.
Parameters:
node - The new node to replace the InterfaceDecl child.
Retrieves the InterfaceDecl child.
Returns:
The current node used as the InterfaceDecl child.
Retrieves the InterfaceDecl child.

This method does not invoke AST transformations.

Returns:
The current node used as the InterfaceDecl 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)
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.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