org.extendj.ast
node type RawInterfaceDecl

General Info

Production
RawInterfaceDecl : ParInterfaceDecl ::= Argument:Access*;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by org.extendj.ast.ASTNode<ASTNode>
          extended by org.extendj.ast.TypeDecl
              extended by org.extendj.ast.ReferenceType
                  extended by org.extendj.ast.InterfaceDecl
                      extended by org.extendj.ast.ParInterfaceDecl
                          extended by org.extendj.ast.RawInterfaceDecl
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>, java.util.Iterator, org.jastadd.util.PrettyPrintable
static class SimpleSet.SimpleSetImpl
           

Description

Source
Declared in /home/jesper/git/extendj/java5/grammar/Generics.ast at line 10

Member Filters

API level:

Aspect:

Constructors

public RawInterfaceDecl()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public RawInterfaceDecl(Modifiers p0,
                        java.lang.String p1)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 16
public RawInterfaceDecl(Modifiers p0,
                        beaver.Symbol p1)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 20

Attributes

Overrides:hostType in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 624
Aspect
NestedTypes
Overrides:isRawType in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 307
Aspect
Generics
Overrides:sameSignature in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 816
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 /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 910
Aspect
LookupParTypeDecl
Overrides:nameWithArgs in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsParTypeDecl.jrag at line 55
Aspect
GenericsParTypeDecl
Overrides:supertypeGenericInterfaceDecl in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsSubtype.jrag at line 40
Aspect
GenericsSubtype
Overrides:supertypeClassDecl in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsSubtype.jrag at line 448
Aspect
GenericsSubtype
Overrides:supertypeInterfaceDecl in class InterfaceDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsSubtype.jrag at line 465
Aspect
GenericsSubtype
Overrides:supertypeParInterfaceDecl in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsSubtype.jrag at line 137
Aspect
GenericsSubtype
Overrides:instanceOf in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 442
Aspect
TypeWideningAndIdentity
A type is reifiable if it either refers to a non-parameterized type, is a raw type, is a parameterized type with only unbound wildcard parameters or is an array type with a reifiable type parameter.
Overrides:isReifiable in class ParInterfaceDecl
See Also:
"JLS SE7 §4.7"
Source
Declared in /home/jesper/git/extendj/java5/frontend/ReifiableTypes.jrag at line 39
Aspect
ReifiableTypes
Overrides:typeArgumentsOpt in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/java5/backend/GenericsCodegen.jrag at line 495
Aspect
GenericsCodegen
Overrides:strictSupertypeGenericInterfaceDecl in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/GenericsSubtype.jrag at line 46
Aspect
StrictSubtype
Overrides:strictSupertypeClassDecl in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/GenericsSubtype.jrag at line 370
Aspect
StrictSubtype
Overrides:strictSupertypeInterfaceDecl in class InterfaceDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/GenericsSubtype.jrag at line 390
Aspect
StrictSubtype
Overrides:strictSupertypeParInterfaceDecl in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/GenericsSubtype.jrag at line 159
Aspect
StrictSubtype
@ASTNodeAnnotation.Attribute
syn boolean sameSignature(java.util.List<TypeDecl> list)
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 858
Aspect
LookupParTypeDecl
@ASTNodeAnnotation.Attribute
syn org.extendj.ast.SimpleSet localTypeDecls(java.lang.String name)
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 1315
Aspect
LookupParTypeDecl

Methods

public Access substitute(org.extendj.ast.Parameterization parTypeDecl)
Overrides:substitute in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 1066
Aspect
LookupParTypeDecl
public Access substituteReturnType(org.extendj.ast.Parameterization parTypeDecl)
Overrides:substituteReturnType in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 1133
Aspect
LookupParTypeDecl
public Access substituteParameterType(org.extendj.ast.Parameterization parTypeDecl)
Overrides:substituteParameterType in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 1161
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
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 27
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 33
public void flushAttrCache()
Overrides:flushAttrCache in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 39
public void flushCollectionCache()
Overrides:flushCollectionCache in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 49
public void flushRewriteCache()
Overrides:flushRewriteCache in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 55
public RawInterfaceDecl clone()
                       throws java.lang.CloneNotSupportedException
Overrides:clone in class ParInterfaceDecl
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 61
public RawInterfaceDecl copy()
Overrides:copy in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 68
@Deprecated
public RawInterfaceDecl 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.

Overrides:fullCopy in class ParInterfaceDecl
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 87
public RawInterfaceDecl treeCopyNoTransform()
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:treeCopyNoTransform in class ParInterfaceDecl
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 97
public RawInterfaceDecl 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.
Overrides:treeCopy in class ParInterfaceDecl
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 124
protected boolean is$Equal(ASTNode node)
Overrides:is$Equal in class ParInterfaceDecl
Source
Declared in /home/jesper/git/extendj/ASTNode at line 131
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
Parameters:
symbol - Symbol containing the new value for the lexeme ID
@ASTNodeAnnotation.Token(name="ID")
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 setSuperInterfaceList(List<Access> node)
This method should not be called. This method throws an exception due to the corresponding child being an NTA shadowing a non-NTA child.
Overrides:setSuperInterfaceList in class ParInterfaceDecl
Parameters:
node -
Retrieves the number of children in the SuperInterface list.
Overrides:getNumSuperInterface in class ParInterfaceDecl
Returns:
Number of children in the SuperInterface list.
Retrieves the number of children in the SuperInterface list. Calling this method will not trigger rewrites.
Overrides:getNumSuperInterfaceNoTransform in class ParInterfaceDecl
Returns:
Number of children in the SuperInterface list.
public Access getSuperInterface(int i)
Retrieves the element at index i in the SuperInterface list.
Overrides:getSuperInterface in class ParInterfaceDecl
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the SuperInterface list.
public boolean hasSuperInterface()
Check whether the SuperInterface list has any children.
Overrides:hasSuperInterface in class ParInterfaceDecl
Returns:
true if it has at least one child, false otherwise.
public void addSuperInterface(Access node)
Append an element to the SuperInterface list.
Overrides:addSuperInterface in class ParInterfaceDecl
Parameters:
node - The element to append to the SuperInterface list.
public void setSuperInterface(Access node,
                              int i)
Replaces the SuperInterface list element at index i with the new node node.
Overrides:setSuperInterface 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 child position of the SuperInterface list.
Overrides:getSuperInterfaceListChildPosition in class ParInterfaceDecl
Returns:
The the child position of the SuperInterface list.
Retrieves the SuperInterface list.

This method does not invoke AST transformations.

Overrides:getSuperInterfaceListNoTransform in class ParInterfaceDecl
Returns:
The node representing the SuperInterface list.
Retrieves the SuperInterface list.
Overrides:getSuperInterfaces in class ParInterfaceDecl
Returns:
The node representing the SuperInterface list.
Retrieves the SuperInterface list.

This method does not invoke AST transformations.

Overrides:getSuperInterfacesNoTransform in class ParInterfaceDecl
Returns:
The node representing the SuperInterface list.
public void setBodyDeclList(List<BodyDecl> node)
This method should not be called. This method throws an exception due to the corresponding child being an NTA shadowing a non-NTA child.
Overrides:setBodyDeclList in class ParInterfaceDecl
Parameters:
node -
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 boolean hasBodyDecl()
Check whether the BodyDecl list has any children.
Overrides:hasBodyDecl in class ParInterfaceDecl
Returns:
true if it has at least one child, false otherwise.
public void addBodyDecl(BodyDecl node)
Append an element to the BodyDecl list.
Overrides: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 child position of the BodyDecl list.
Overrides:getBodyDeclListChildPosition in class ParInterfaceDecl
Returns:
The the child position of 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 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.
public void setArgumentList(List<Access> node)
This method should not be called. This method throws an exception due to the corresponding child being an NTA shadowing a non-NTA child.
Overrides:setArgumentList in class ParInterfaceDecl
Parameters:
node -
public int getNumArgument()
Retrieves the number of children in the Argument list.
Overrides: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.
Overrides:getArgument in class ParInterfaceDecl
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the Argument list.
public boolean hasArgument()
Check whether the Argument list has any children.
Overrides:hasArgument in class ParInterfaceDecl
Returns:
true if it has at least one child, false otherwise.
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 child position of the Argument list.
Returns:
The the child position of 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 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.
Overrides:rewriteTo in class ParInterfaceDecl
public java.lang.String typeName()
public org.extendj.ast.SimpleSet localFields(java.lang.String name)
public java.util.Map<java.lang.String,org.extendj.ast.SimpleSet> localMethodsSignatureMap()
public boolean isRawType()
public int size()
public boolean isEmpty()
public boolean contains(java.lang.Object o)
public org.extendj.ast.SimpleSet lookupVariable(java.lang.String name)

Fields

protected boolean getArgumentList_computed
protected java.util.Map subtype_TypeDecl_values
protected java.util.Map instanceOf_TypeDecl_values
protected java.util.Map strictSubtype_TypeDecl_values
public static final org.extendj.ast.Parameterization RAW
A raw type parameterization. Performs no substitutions.
public static final org.extendj.ast.SimpleSet emptySet
public static final org.extendj.ast.SimpleSet fullSet

Inherited Members

Attributes inherited from org.extendj.ast.ParInterfaceDecl

Attributes inherited from org.extendj.ast.InterfaceDecl

Attributes inherited from org.extendj.ast.ReferenceType

Attributes inherited from org.extendj.ast.TypeDecl

Attributes inherited from org.extendj.ast.ASTNode

Methods inherited from class org.extendj.ast.ParInterfaceDecl

Methods inherited from class org.extendj.ast.InterfaceDecl

Methods inherited from class org.extendj.ast.ReferenceType

Methods inherited from class org.extendj.ast.TypeDecl

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

Fields inherited from org.extendj.ast.InterfaceDecl

Fields inherited from org.extendj.ast.ReferenceType

Fields inherited from org.extendj.ast.TypeDecl

Fields inherited from org.extendj.ast.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value