AST
node type WildcardType

General Info

Production
WildcardType : AbstractWildcardType;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<ASTNode>
          extended by AST.TypeDecl
              extended by AST.AbstractWildcardType
                  extended by AST.WildcardType
All Implemented Interfaces:
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 26

Member Filters

API level:

Aspect:

Constructors

public WildcardType()
 
public WildcardType(Modifiers p0,
                    java.lang.String p1,
                    List<BodyDecl> p2)
 
public WildcardType(Modifiers p0,
                    beaver.Symbol p1,
                    List<BodyDecl> p2)
 

Attributes

syn boolean sameSignature(Access a)
Overrides:sameSignature in class TypeDecl
Source
Declared in Java1.5Frontend/Generics.jrag at line 571
Aspect
LookupParTypeDecl
syn boolean subtype(TypeDecl type)
Overrides:subtype in class TypeDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 45
Aspect
GenericsSubtype
syn boolean supertypeWildcard(WildcardType type)
Overrides:supertypeWildcard in class TypeDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 46
Aspect
GenericsSubtype
Overrides:supertypeWildcardExtends in class TypeDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 57
Aspect
GenericsSubtype
Overrides:supertypeWildcardSuper in class TypeDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 66
Aspect
GenericsSubtype
syn boolean supertypeClassDecl(ClassDecl type)
Overrides:supertypeClassDecl in class TypeDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 421
Aspect
GenericsSubtype
Overrides:supertypeInterfaceDecl in class TypeDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 437
Aspect
GenericsSubtype
Overrides:supertypeParClassDecl in class TypeDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 125
Aspect
GenericsSubtype
Overrides:supertypeParInterfaceDecl in class TypeDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 129
Aspect
GenericsSubtype
Overrides:supertypeRawClassDecl in class TypeDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 26
Aspect
GenericsSubtype
Overrides:supertypeRawInterfaceDecl in class TypeDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 30
Aspect
GenericsSubtype
Overrides:supertypeTypeVariable in class TypeDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 291
Aspect
GenericsSubtype
syn boolean supertypeArrayDecl(ArrayDecl type)
Overrides:supertypeArrayDecl in class TypeDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 450
Aspect
GenericsSubtype
syn boolean containedIn(TypeDecl type)
Overrides:containedIn in class TypeDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 169
Aspect
GenericsSubtype
syn boolean instanceOf(TypeDecl type)
Overrides:instanceOf in class TypeDecl
Source
Declared in Java1.5Frontend/GenericsSubtype.jrag at line 401
Aspect
GenericsSubtype
syn java.lang.String fieldTypeSignature()
Overrides:fieldTypeSignature in class TypeDecl
Source
Declared in Java1.5Backend/GenericsCodegen.jrag at line 446
Aspect
GenericsCodegen

Methods

public void flushCache()
Overrides:flushCache in class AbstractWildcardType
public WildcardType clone()
                   throws java.lang.CloneNotSupportedException
Overrides:clone in class AbstractWildcardType
Throws:
java.lang.CloneNotSupportedException
Overrides:copy in class ASTNode<ASTNode>
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:fullCopy in class ASTNode<ASTNode>
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 AbstractWildcardType
protected int numChildren()
Overrides:numChildren in class AbstractWildcardType
public boolean mayHaveRewrite()
public void setModifiers(Modifiers node)
Replaces the Modifiers child.
Overrides:setModifiers in class AbstractWildcardType
Parameters:
node - The new node to replace the Modifiers child.
Retrieves the Modifiers child.
Overrides:getModifiers in class AbstractWildcardType
Returns:
The current node used as the Modifiers child.
Retrieves the Modifiers child.

This method does not invoke AST transformations.

Overrides:getModifiersNoTransform in class AbstractWildcardType
Returns:
The current node used as the Modifiers child.
public void setID(java.lang.String value)
Replaces the lexeme ID.
Overrides:setID in class AbstractWildcardType
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 AbstractWildcardType
public java.lang.String getID()
Retrieves the value for the lexeme ID.
Overrides:getID in class AbstractWildcardType
Returns:
The value for the lexeme ID.
public void setBodyDeclList(List<BodyDecl> list)
Replaces the BodyDecl list.
Overrides:setBodyDeclList in class AbstractWildcardType
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 AbstractWildcardType
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 AbstractWildcardType
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 AbstractWildcardType
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.
Overrides:addBodyDecl in class AbstractWildcardType
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 AbstractWildcardType
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 AbstractWildcardType
Returns:
The node representing the BodyDecl list.
Retrieves the BodyDecl list.

This method does not invoke AST transformations.

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

This method does not invoke AST transformations.

Overrides:getBodyDeclListNoTransform in class AbstractWildcardType
Returns:
The node representing the BodyDecl list.
Overrides:rewriteTo in class AbstractWildcardType

Fields

protected java.util.Map subtype_TypeDecl_values
protected java.util.Map containedIn_TypeDecl_values
protected java.util.Map instanceOf_TypeDecl_values
protected boolean fieldTypeSignature_computed
protected java.lang.String fieldTypeSignature_value

Inherited Members

Attributes inherited from AST.AbstractWildcardType

Attributes inherited from AST.TypeDecl

Attributes inherited from AST.ASTNode

Methods inherited from class AST.AbstractWildcardType

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

Methods inherited from interface AST.VariableScope

Fields inherited from AST.AbstractWildcardType

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