AST
node type GenericClassDeclSubstituted

General Info

Production
GenericClassDeclSubstituted : GenericClassDecl ::= <Original:TypeDecl> BodyDecl*;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<ASTNode>
          extended by AST.TypeDecl
              extended by AST.ReferenceType
                  extended by AST.ClassDecl
                      extended by AST.GenericClassDecl
                          extended by AST.GenericClassDeclSubstituted
All Implemented Interfaces:
GenericTypeDecl, MemberSubstitutor, Parameterization, SimpleSet, VariableScope, java.lang.Cloneable, java.lang.Iterable<ASTNode>, java.util.Iterator

Nested classes/interfaces inherited from interface AST.SimpleSet

Description

Source
Declared in Java1.5Frontend/Generics.ast at line 43

Member Filters

API level:

Aspect:

Constructors

public GenericClassDeclSubstituted(Modifiers p0,
                                   java.lang.String p1,
                                   Opt<Access> p2,
                                   List<Access> p3,
                                   List<TypeVariable> p4,
                                   TypeDecl p5)
 
public GenericClassDeclSubstituted(Modifiers p0,
                                   beaver.Symbol p1,
                                   Opt<Access> p2,
                                   List<Access> p3,
                                   List<TypeVariable> p4,
                                   TypeDecl p5)
 

Attributes

Overrides:hostType in class TypeDecl
Source
Declared in Java1.4Frontend/TypeAnalysis.jrag at line 569
Aspect
NestedTypes
Description copied from class: GenericClassDecl
Retrieves the BodyDecl list.
Overrides:getBodyDeclList in class GenericClassDecl
Returns:
The node representing the BodyDecl list.
Source
Declared in Java1.5Frontend/Generics.jrag at line 1052
Aspect
LookupParTypeDecl
Specified by:original in interface GenericTypeDeclSpecified by:original in interface MemberSubstitutorOverrides:original in class TypeDecl
Source
Declared in Java1.5Frontend/Generics.jrag at line 1306
Aspect
LookupParTypeDecl
Overrides:sourceTypeDecl in class TypeDecl
Source
Declared in Java1.5Frontend/Generics.jrag at line 1508
Aspect
SourceDeclarations
syn boolean instanceOf(TypeDecl type)
Overrides:instanceOf in class GenericClassDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 488
Aspect
GenericsSubtype
syn boolean subtype(TypeDecl type)
Overrides:subtype in class GenericClassDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 511
Aspect
GenericsSubtype
Overrides:supertypeGenericClassDeclSubstituted in class TypeDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 513
Aspect
GenericsSubtype
Overrides:supertypeGenericClassDecl in class TypeDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 14
Aspect
GenericsSubtype
syn java.lang.String typeDescriptor()
Overrides:typeDescriptor in class ClassDecl
Source
Declared in Java1.5Backend/GenericsCodegen.jrag at line 19
Aspect
GenericsCodegen
syn java.lang.String constantPoolName()
Overrides:constantPoolName in class GenericClassDecl
Source
Declared in Java1.5Backend/GenericsCodegen.jrag at line 24
Aspect
GenericsCodegen
syn int uniqueIndex()
Overrides:uniqueIndex in class TypeDecl
Source
Declared in Java1.5Backend/GenericsCodegen.jrag at line 30
Aspect
GenericsCodegen
syn java.lang.String arrayTypeDescriptor()
Overrides:arrayTypeDescriptor in class ClassDecl
Source
Declared in Java1.4Backend/CreateBCode.jrag at line 820
Aspect
CreateBCode
syn java.util.HashMap localMethodsSignatureMap()
Specified by:localMethodsSignatureMap in interface MemberSubstitutorOverrides:localMethodsSignatureMap in class TypeDecl
Source
Declared in Java1.5Frontend/Generics.jrag at line 1084
Aspect
LookupParTypeDecl
syn SimpleSet localFields(java.lang.String name)
Specified by:localFields in interface MemberSubstitutorOverrides:localFields in class TypeDecl
Source
Declared in Java1.5Frontend/Generics.jrag at line 1119
Aspect
LookupParTypeDecl
syn SimpleSet localTypeDecls(java.lang.String name)
Specified by:localTypeDecls in interface MemberSubstitutorOverrides:localTypeDecls in class TypeDecl
Source
Declared in Java1.5Frontend/Generics.jrag at line 1154
Aspect
LookupParTypeDecl
syn java.util.Collection constructors()
Specified by:constructors in interface MemberSubstitutorOverrides:constructors in class TypeDecl
Source
Declared in Java1.5Frontend/Generics.jrag at line 1213
Aspect
LookupParTypeDecl

Methods

public void flushCache()
Overrides:flushCache in class GenericClassDecl
public GenericClassDeclSubstituted clone()
                                  throws java.lang.CloneNotSupportedException
Overrides:clone in class GenericClassDecl
Throws:
java.lang.CloneNotSupportedException
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:fullCopy in class GenericClassDecl
Returns:
dangling copy of the subtree at this node
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class GenericClassDecl
protected int numChildren()
Overrides:numChildren in class GenericClassDecl
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class GenericClassDecl
public void setModifiers(Modifiers node)
Replaces the Modifiers child.
Overrides:setModifiers in class GenericClassDecl
Parameters:
node - The new node to replace the Modifiers child.
Retrieves the Modifiers child.
Overrides:getModifiers in class GenericClassDecl
Returns:
The current node used as the Modifiers child.
Retrieves the Modifiers child.

This method does not invoke AST transformations.

Overrides:getModifiersNoTransform in class GenericClassDecl
Returns:
The current node used as the Modifiers child.
public void setID(java.lang.String value)
Replaces the lexeme ID.
Overrides:setID in class GenericClassDecl
Parameters:
value - The new value for the lexeme ID.
public void setID(beaver.Symbol symbol)
JastAdd-internal setter for lexeme ID using the Beaver parser.
Overrides:setID in class GenericClassDecl
public java.lang.String getID()
Retrieves the value for the lexeme ID.
Overrides:getID in class GenericClassDecl
Returns:
The value for the lexeme ID.
public void setSuperClassAccessOpt(Opt<Access> opt)
Replaces the optional node for the SuperClassAccess child. This is the Opt node containing the child SuperClassAccess, not the actual child!
Overrides:setSuperClassAccessOpt in class GenericClassDecl
Parameters:
opt - The new node to be used as the optional node for the SuperClassAccess child.
public boolean hasSuperClassAccess()
Check whether the optional SuperClassAccess child exists.
Overrides:hasSuperClassAccess in class GenericClassDecl
Returns:
true if the optional SuperClassAccess child exists, false if it does not.
Retrieves the (optional) SuperClassAccess child.
Overrides:getSuperClassAccess in class GenericClassDecl
Returns:
The SuperClassAccess child, if it exists. Returns null otherwise.
public void setSuperClassAccess(Access node)
Replaces the (optional) SuperClassAccess child.
Overrides:setSuperClassAccess in class GenericClassDecl
Parameters:
node - The new node to be used as the SuperClassAccess child.
Retrieves the optional node for child SuperClassAccess. This is the Opt node containing the child SuperClassAccess, not the actual child!

This method does not invoke AST transformations.

Overrides:getSuperClassAccessOptNoTransform in class GenericClassDecl
Returns:
The optional node for child SuperClassAccess.
public void setImplementsList(List<Access> list)
Replaces the Implements list.
Overrides:setImplementsList in class GenericClassDecl
Parameters:
list - The new list node to be used as the Implements list.
public int getNumImplements()
Retrieves the number of children in the Implements list.
Overrides:getNumImplements in class GenericClassDecl
Returns:
Number of children in the Implements list.
Retrieves the number of children in the Implements list. Calling this method will not trigger rewrites..
Overrides:getNumImplementsNoTransform in class GenericClassDecl
Returns:
Number of children in the Implements list.
public Access getImplements(int i)
Retrieves the element at index i in the Implements list..
Overrides:getImplements in class GenericClassDecl
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the Implements list.
public void addImplements(Access node)
Append an element to the Implements list.
Overrides:addImplements in class GenericClassDecl
Parameters:
node - The element to append to the Implements list.
public void setImplements(Access node,
                          int i)
Replaces the Implements list element at index i with the new node node.
Overrides:setImplements in class GenericClassDecl
Parameters:
node - The new node to replace the old list element.
i - The list index of the node to be replaced.
Retrieves the Implements list.
Overrides:getImplementss in class GenericClassDecl
Returns:
The node representing the Implements list.
Retrieves the Implements list.

This method does not invoke AST transformations.

Overrides:getImplementssNoTransform in class GenericClassDecl
Returns:
The node representing the Implements list.
Retrieves the Implements list.
Overrides:getImplementsList in class GenericClassDecl
Returns:
The node representing the Implements list.
Retrieves the Implements list.

This method does not invoke AST transformations.

Overrides:getImplementsListNoTransform in class GenericClassDecl
Returns:
The node representing the Implements list.
Replaces the TypeParameter list.
Overrides:setTypeParameterList in class GenericClassDecl
Parameters:
list - The new list node to be used as the TypeParameter list.
public int getNumTypeParameter()
Retrieves the number of children in the TypeParameter list.
Specified by:getNumTypeParameter in interface GenericTypeDeclOverrides:getNumTypeParameter in class GenericClassDecl
Returns:
Number of children in the TypeParameter list.
Retrieves the number of children in the TypeParameter list. Calling this method will not trigger rewrites..
Overrides:getNumTypeParameterNoTransform in class GenericClassDecl
Returns:
Number of children in the TypeParameter list.
Retrieves the element at index i in the TypeParameter list..
Specified by:getTypeParameter in interface GenericTypeDeclOverrides:getTypeParameter in class GenericClassDecl
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the TypeParameter list.
public void addTypeParameter(TypeVariable node)
Append an element to the TypeParameter list.
Overrides:addTypeParameter in class GenericClassDecl
Parameters:
node - The element to append to the TypeParameter list.
public void setTypeParameter(TypeVariable node,
                             int i)
Replaces the TypeParameter list element at index i with the new node node.
Overrides:setTypeParameter in class GenericClassDecl
Parameters:
node - The new node to replace the old list element.
i - The list index of the node to be replaced.
Retrieves the TypeParameter list.
Overrides:getTypeParameters in class GenericClassDecl
Returns:
The node representing the TypeParameter list.
Retrieves the TypeParameter list.

This method does not invoke AST transformations.

Overrides:getTypeParametersNoTransform in class GenericClassDecl
Returns:
The node representing the TypeParameter list.
Retrieves the TypeParameter list.
Specified by:getTypeParameterList in interface GenericTypeDeclOverrides:getTypeParameterList in class GenericClassDecl
Returns:
The node representing the TypeParameter list.
Retrieves the TypeParameter list.

This method does not invoke AST transformations.

Overrides:getTypeParameterListNoTransform in class GenericClassDecl
Returns:
The node representing the TypeParameter list.
public void setOriginal(TypeDecl value)
Replaces the lexeme Original.
Parameters:
value - The new value for the lexeme Original.
Retrieves the value for the lexeme Original.
Returns:
The value for the lexeme Original.
public void setBodyDeclList(List<BodyDecl> list)
Replaces the BodyDecl list.
Overrides:setBodyDeclList in class GenericClassDecl
Parameters:
list - The new list node to be used as the BodyDecl list.
public int getNumBodyDecl()
Retrieves the number of children in the BodyDecl list.
Overrides:getNumBodyDecl in class GenericClassDecl
Returns:
Number of children in the BodyDecl list.
Retrieves the number of children in the BodyDecl list. Calling this method will not trigger rewrites..
Overrides:getNumBodyDeclNoTransform in class GenericClassDecl
Returns:
Number of children in the BodyDecl list.
public BodyDecl getBodyDecl(int i)
Retrieves the element at index i in the BodyDecl list..
Overrides:getBodyDecl in class GenericClassDecl
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the BodyDecl list.
public void addBodyDecl(BodyDecl node)
Append an element to the BodyDecl list.
Specified by:addBodyDecl in interface MemberSubstitutorOverrides:addBodyDecl in class GenericClassDecl
Parameters:
node - The element to append to the BodyDecl list.
public void setBodyDecl(BodyDecl node,
                        int i)
Replaces the BodyDecl list element at index i with the new node node.
Overrides:setBodyDecl in class GenericClassDecl
Parameters:
node - The new node to replace the old list element.
i - The list index of the node to be replaced.
Retrieves the BodyDecl list.
Overrides:getBodyDecls in class GenericClassDecl
Returns:
The node representing the BodyDecl list.
Retrieves the BodyDecl list.

This method does not invoke AST transformations.

Overrides:getBodyDeclsNoTransform in class GenericClassDecl
Returns:
The node representing the BodyDecl list.
Retrieves the BodyDecl list.

This method does not invoke AST transformations.

Overrides:getBodyDeclListNoTransform in class GenericClassDecl
Returns:
The node representing the BodyDecl list.
Retrieves the child position of the BodyDecl list.
Returns:
The the child position of the BodyDecl list.
Overrides:rewriteTo in class GenericClassDecl

Fields

protected boolean getBodyDeclList_computed
protected boolean sourceTypeDecl_computed
protected java.util.Map instanceOf_TypeDecl_values
protected java.util.Map subtype_TypeDecl_values
protected boolean typeDescriptor_computed
protected java.lang.String typeDescriptor_value
protected boolean constantPoolName_computed
protected java.lang.String constantPoolName_value
protected boolean uniqueIndex_computed
protected int uniqueIndex_value
protected java.util.HashMap localMethodsSignatureMap_value
protected java.util.Map localFields_String_values
protected java.util.Map localTypeDecls_String_values
protected boolean constructors_computed
protected java.util.Collection constructors_value

Inherited Members

Attributes inherited from AST.GenericClassDecl

Attributes inherited from AST.ClassDecl

Attributes inherited from AST.ReferenceType

Attributes inherited from AST.TypeDecl

Attributes inherited from AST.ASTNode

Methods inherited from class AST.GenericClassDecl

Methods inherited from class AST.ClassDecl

Methods inherited from class AST.ReferenceType

Methods inherited from class AST.TypeDecl

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

Methods inherited from interface AST.MemberSubstitutor

Methods inherited from interface AST.Parameterization

Methods inherited from interface AST.GenericTypeDecl

Methods inherited from interface AST.SimpleSet

Methods inherited from interface AST.VariableScope

Fields inherited from AST.GenericClassDecl

Fields inherited from AST.ClassDecl

Fields inherited from AST.ReferenceType

Fields inherited from AST.TypeDecl

Fields inherited from AST.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value

Fields inherited from interface AST.SimpleSet