AST
node type RawInterfaceDecl

General Info

Production
RawInterfaceDecl : ParInterfaceDecl ::= Argument:Access*;
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.InterfaceDecl
                      extended by AST.ParInterfaceDecl
                          extended by AST.RawInterfaceDecl
All Implemented Interfaces:
MemberSubstitutor, Parameterization, ParTypeDecl, 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 10

Member Filters

API level:

Aspect:

Constructors

 
public RawInterfaceDecl(Modifiers p0,
                        java.lang.String p1)
 
public RawInterfaceDecl(Modifiers p0,
                        beaver.Symbol p1)
 

Attributes

Overrides:hostType in class ParInterfaceDecl
Source
Declared in Java1.4Frontend/TypeAnalysis.jrag at line 569
Aspect
NestedTypes
syn boolean isRawType()
Specified by:isRawType in interface ParameterizationSpecified by:isRawType in interface ParTypeDeclOverrides:isRawType in class ParInterfaceDecl
Source
Declared in Java1.5Frontend/Generics.jrag at line 245
Aspect
Generics
syn boolean sameSignature(Access a)
Specified by:sameSignature in interface ParTypeDeclOverrides:sameSignature in class ParInterfaceDecl
Source
Declared in Java1.5Frontend/Generics.jrag at line 577
Aspect
LookupParTypeDecl
Description copied from class: ParInterfaceDecl
Retrieves the Argument list.
Overrides:getArgumentList in class ParInterfaceDecl
Returns:
The node representing the Argument list.
Source
Declared in Java1.5Frontend/Generics.jrag at line 756
Aspect
LookupParTypeDecl
syn java.lang.String nameWithArgs()
Specified by:nameWithArgs in interface ParTypeDeclOverrides:nameWithArgs in class ParInterfaceDecl
Source
Declared in Java1.5Frontend/GenericsParTypeDecl.jrag at line 30
Aspect
GenericsParTypeDecl
Overrides:supertypeGenericInterfaceDecl in class ParInterfaceDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 20
Aspect
GenericsSubtype
syn boolean subtype(TypeDecl type)
Overrides:subtype in class ParInterfaceDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 29
Aspect
GenericsSubtype
syn boolean supertypeClassDecl(ClassDecl type)
Overrides:supertypeClassDecl in class ParInterfaceDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 421
Aspect
GenericsSubtype
Overrides:supertypeInterfaceDecl in class InterfaceDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 437
Aspect
GenericsSubtype
Overrides:supertypeParInterfaceDecl in class ParInterfaceDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 129
Aspect
GenericsSubtype
syn boolean instanceOf(TypeDecl type)
Overrides:instanceOf in class ParInterfaceDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 399
Aspect
GenericsSubtype
syn java.lang.String typeArgumentsOpt()
Overrides:typeArgumentsOpt in class ParInterfaceDecl
Source
Declared in Java1.5Backend/GenericsCodegen.jrag at line 470
Aspect
GenericsCodegen

Methods

public void flushCache()
Overrides:flushCache in class ParInterfaceDecl
public RawInterfaceDecl clone()
                       throws java.lang.CloneNotSupportedException
Overrides:clone in class ParInterfaceDecl
Throws:
java.lang.CloneNotSupportedException
Overrides:copy in class ParInterfaceDecl
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:fullCopy in class ParInterfaceDecl
Returns:
dangling copy of the subtree at this node
public Access substitute(Parameterization parTypeDecl)
Specified by:substitute in interface ParTypeDeclOverrides:substitute in class ParInterfaceDecl
Source
Declared in Java1.5Frontend/Generics.jrag at line 900
Aspect
LookupParTypeDecl
Overrides:substituteReturnType in class TypeDecl
Source
Declared in Java1.5Frontend/Generics.jrag at line 955
Aspect
LookupParTypeDecl
Overrides:substituteParameterType in class TypeDecl
Source
Declared in Java1.5Frontend/Generics.jrag at line 975
Aspect
LookupParTypeDecl
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class ParInterfaceDecl
protected int numChildren()
Overrides:numChildren in class ParInterfaceDecl
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class ParInterfaceDecl
public void setModifiers(Modifiers node)
Replaces the Modifiers child.
Overrides:setModifiers in class ParInterfaceDecl
Parameters:
node - The new node to replace the Modifiers child.
Retrieves the Modifiers child.
Overrides:getModifiers in class ParInterfaceDecl
Returns:
The current node used as the Modifiers child.
Retrieves the Modifiers child.

This method does not invoke AST transformations.

Overrides:getModifiersNoTransform in class ParInterfaceDecl
Returns:
The current node used as the Modifiers child.
public void setID(java.lang.String value)
Replaces the lexeme ID.
Overrides:setID in class ParInterfaceDecl
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 ParInterfaceDecl
public java.lang.String getID()
Retrieves the value for the lexeme ID.
Overrides:getID in class ParInterfaceDecl
Returns:
The value for the lexeme ID.
public void setSuperInterfaceIdList(List<Access> list)
Replaces the SuperInterfaceId list.
Overrides:setSuperInterfaceIdList in class ParInterfaceDecl
Parameters:
list - The new list node to be used as the SuperInterfaceId list.
Retrieves the number of children in the SuperInterfaceId list.
Overrides:getNumSuperInterfaceId in class ParInterfaceDecl
Returns:
Number of children in the SuperInterfaceId list.
Retrieves the number of children in the SuperInterfaceId list. Calling this method will not trigger rewrites..
Overrides:getNumSuperInterfaceIdNoTransform in class ParInterfaceDecl
Returns:
Number of children in the SuperInterfaceId list.
Retrieves the element at index i in the SuperInterfaceId list..
Overrides:getSuperInterfaceId in class ParInterfaceDecl
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the SuperInterfaceId list.
public void addSuperInterfaceId(Access node)
Append an element to the SuperInterfaceId list.
Overrides:addSuperInterfaceId in class ParInterfaceDecl
Parameters:
node - The element to append to the SuperInterfaceId list.
public void setSuperInterfaceId(Access node,
                                int i)
Replaces the SuperInterfaceId list element at index i with the new node node.
Overrides:setSuperInterfaceId in class ParInterfaceDecl
Parameters:
node - The new node to replace the old list element.
i - The list index of the node to be replaced.
Retrieves the SuperInterfaceId list.
Overrides:getSuperInterfaceIds in class ParInterfaceDecl
Returns:
The node representing the SuperInterfaceId list.
Retrieves the SuperInterfaceId list.

This method does not invoke AST transformations.

Overrides:getSuperInterfaceIdsNoTransform in class ParInterfaceDecl
Returns:
The node representing the SuperInterfaceId list.
Retrieves the SuperInterfaceId list.

This method does not invoke AST transformations.

Overrides:getSuperInterfaceIdListNoTransform in class ParInterfaceDecl
Returns:
The node representing the SuperInterfaceId list.
Retrieves the child position of the SuperInterfaceId list.
Overrides:getSuperInterfaceIdListChildPosition in class ParInterfaceDecl
Returns:
The the child position of the SuperInterfaceId list.
public void setBodyDeclList(List<BodyDecl> list)
Replaces the BodyDecl list.
Overrides:setBodyDeclList in class ParInterfaceDecl
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 ParInterfaceDecl
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 ParInterfaceDecl
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 ParInterfaceDecl
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 ParInterfaceDecl
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 ParInterfaceDecl
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 ParInterfaceDecl
Returns:
The node representing the BodyDecl list.
Retrieves the BodyDecl list.

This method does not invoke AST transformations.

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

This method does not invoke AST transformations.

Overrides:getBodyDeclListNoTransform in class ParInterfaceDecl
Returns:
The node representing the BodyDecl list.
Retrieves the child position of the BodyDecl list.
Overrides:getBodyDeclListChildPosition in class ParInterfaceDecl
Returns:
The the child position of the BodyDecl list.
public void setArgumentList(List<Access> list)
Replaces the Argument list.
Overrides:setArgumentList in class ParInterfaceDecl
Parameters:
list - The new list node to be used as the Argument list.
public int getNumArgument()
Retrieves the number of children in the Argument list.
Specified by:getNumArgument in interface ParTypeDeclOverrides:getNumArgument in class ParInterfaceDecl
Returns:
Number of children in the Argument list.
Retrieves the number of children in the Argument list. Calling this method will not trigger rewrites..
Overrides:getNumArgumentNoTransform in class ParInterfaceDecl
Returns:
Number of children in the Argument list.
public Access getArgument(int i)
Retrieves the element at index i in the Argument list..
Specified by:getArgument in interface ParTypeDeclOverrides:getArgument in class ParInterfaceDecl
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the Argument list.
public void addArgument(Access node)
Append an element to the Argument list.
Overrides:addArgument in class ParInterfaceDecl
Parameters:
node - The element to append to the Argument list.
public void setArgument(Access node,
                        int i)
Replaces the Argument list element at index i with the new node node.
Overrides:setArgument in class ParInterfaceDecl
Parameters:
node - The new node to replace the old list element.
i - The list index of the node to be replaced.
Retrieves the Argument list.
Overrides:getArguments in class ParInterfaceDecl
Returns:
The node representing the Argument list.
Retrieves the Argument list.

This method does not invoke AST transformations.

Overrides:getArgumentsNoTransform in class ParInterfaceDecl
Returns:
The node representing the Argument list.
Retrieves the Argument list.

This method does not invoke AST transformations.

Overrides:getArgumentListNoTransform in class ParInterfaceDecl
Returns:
The node representing the Argument list.
Retrieves the child position of the Argument list.
Returns:
The the child position of the Argument list.
Overrides:rewriteTo in class ParInterfaceDecl

Fields

protected boolean getArgumentList_computed
protected java.util.Map subtype_TypeDecl_values
protected java.util.Map instanceOf_TypeDecl_values

Inherited Members

Attributes inherited from AST.ParInterfaceDecl

Attributes inherited from AST.InterfaceDecl

Attributes inherited from AST.ReferenceType

Attributes inherited from AST.TypeDecl

Attributes inherited from AST.ASTNode

Methods inherited from class AST.ParInterfaceDecl

Methods inherited from class AST.InterfaceDecl

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

Methods inherited from interface AST.MemberSubstitutor

Methods inherited from interface AST.Parameterization

Methods inherited from interface AST.SimpleSet

Methods inherited from interface AST.VariableScope

Fields inherited from AST.ParInterfaceDecl

Fields inherited from AST.InterfaceDecl

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