org.extendj.ast
node type WildcardSuperType

General Info

Production
WildcardSuperType : AbstractWildcardType ::= 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.AbstractWildcardType
                  extended by org.extendj.ast.WildcardSuperType
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 28

Member Filters

API level:

Aspect:

Constructors

public WildcardSuperType()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public WildcardSuperType(Modifiers p0,
                         java.lang.String p1,
                         List<BodyDecl> p2,
                         Access p3)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 14
public WildcardSuperType(Modifiers p0,
                         beaver.Symbol p1,
                         List<BodyDecl> p2,
                         Access p3)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 20

Attributes

@ASTNodeAnnotation.Attribute
syn boolean withinBounds(TypeDecl bound,
                                                 org.extendj.ast.Parameterization par)
Overrides:withinBounds in class TypeDecl
Parameters:
bound - the bounded type variable
par - a parameterization of the type for which the type variable occurs in the type parameter list
Returns:
true if this type is within the bounds of the parameter type
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericBoundCheck.jrag at line 42
Aspect
GenericBoundCheck
Overrides:sameSignature in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 806
Aspect
LookupParTypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 1473
Aspect
LookupParTypeDecl
Overrides:supertypeWildcard in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsSubtype.jrag at line 66
Aspect
GenericsSubtype
Overrides:supertypeWildcardSuper in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsSubtype.jrag at line 81
Aspect
GenericsSubtype
Overrides:supertypeClassDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsSubtype.jrag at line 448
Aspect
GenericsSubtype
Overrides:supertypeInterfaceDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsSubtype.jrag at line 465
Aspect
GenericsSubtype
Overrides:supertypeParClassDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsSubtype.jrag at line 134
Aspect
GenericsSubtype
Overrides:supertypeParInterfaceDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsSubtype.jrag at line 137
Aspect
GenericsSubtype
Overrides:supertypeRawClassDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsSubtype.jrag at line 46
Aspect
GenericsSubtype
Overrides:supertypeRawInterfaceDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsSubtype.jrag at line 50
Aspect
GenericsSubtype
Overrides:supertypeTypeVariable in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsSubtype.jrag at line 321
Aspect
GenericsSubtype
Overrides:supertypeArrayDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericsSubtype.jrag at line 480
Aspect
GenericsSubtype
Overrides:instanceOf in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 442
Aspect
TypeWideningAndIdentity
Overrides:fieldTypeSignature in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/backend/GenericsCodegen.jrag at line 467
Aspect
GenericsCodegen
Overrides:strictSupertypeWildcard in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/GenericsSubtype.jrag at line 68
Aspect
StrictSubtype
Overrides:strictSupertypeWildcardSuper in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/GenericsSubtype.jrag at line 85
Aspect
StrictSubtype
Overrides:strictSupertypeClassDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/GenericsSubtype.jrag at line 370
Aspect
StrictSubtype
Overrides:strictSupertypeInterfaceDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/GenericsSubtype.jrag at line 390
Aspect
StrictSubtype
Overrides:strictSupertypeParClassDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/GenericsSubtype.jrag at line 155
Aspect
StrictSubtype
Overrides:strictSupertypeParInterfaceDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/GenericsSubtype.jrag at line 159
Aspect
StrictSubtype
Overrides:strictSupertypeRawClassDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/GenericsSubtype.jrag at line 52
Aspect
StrictSubtype
Overrides:strictSupertypeRawInterfaceDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/GenericsSubtype.jrag at line 56
Aspect
StrictSubtype
Overrides:strictSupertypeTypeVariable in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/GenericsSubtype.jrag at line 276
Aspect
StrictSubtype
Overrides:strictSupertypeArrayDecl in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java8/frontend/GenericsSubtype.jrag at line 407
Aspect
StrictSubtype

Methods

public Access substitute(org.extendj.ast.Parameterization parTypeDecl)
Overrides:substitute in class TypeDecl
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 1077
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 AbstractWildcardType
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class AbstractWildcardType
Source
Declared in /home/jesper/git/extendj/ASTNode at line 29
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class AbstractWildcardType
Source
Declared in /home/jesper/git/extendj/ASTNode at line 35
public void flushAttrCache()
Overrides:flushAttrCache in class AbstractWildcardType
Source
Declared in /home/jesper/git/extendj/ASTNode at line 41
public void flushCollectionCache()
Overrides:flushCollectionCache in class AbstractWildcardType
Source
Declared in /home/jesper/git/extendj/ASTNode at line 56
public void flushRewriteCache()
Overrides:flushRewriteCache in class AbstractWildcardType
Source
Declared in /home/jesper/git/extendj/ASTNode at line 62
public WildcardSuperType clone()
                        throws java.lang.CloneNotSupportedException
Overrides:clone in class AbstractWildcardType
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 68
public WildcardSuperType copy()
Overrides:copy in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 75
@Deprecated
public WildcardSuperType 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 AbstractWildcardType
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 94
public WildcardSuperType 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 AbstractWildcardType
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 104
public WildcardSuperType 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 AbstractWildcardType
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 ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 131
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
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 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 boolean hasBodyDecl()
Check whether the BodyDecl list has any children.
Overrides:hasBodyDecl in class AbstractWildcardType
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 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: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.
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.
public void setAccess(Access node)
Replaces the Access child.
Parameters:
node - The new node to replace the Access child.
Retrieves the Access child.
Returns:
The current node used as the Access child.
Retrieves the Access child.

This method does not invoke AST transformations.

Returns:
The current node used as the Access child.
Overrides:rewriteTo in class AbstractWildcardType
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 usesTypeVariable_computed
protected boolean usesTypeVariable_value
protected java.util.Map subtype_TypeDecl_values
protected java.util.Map containedIn_TypeDecl_values
protected java.util.Map sameStructure_TypeDecl_values
protected java.util.Map instanceOf_TypeDecl_values
protected boolean fieldTypeSignature_computed
protected java.lang.String fieldTypeSignature_value
protected java.util.Map strictSubtype_TypeDecl_values
protected java.util.Map strictContainedIn_TypeDecl_values
public static final org.extendj.ast.SimpleSet emptySet
public static final org.extendj.ast.SimpleSet fullSet

Inherited Members

Attributes inherited from org.extendj.ast.AbstractWildcardType

Attributes inherited from org.extendj.ast.TypeDecl

Attributes inherited from org.extendj.ast.ASTNode

Methods inherited from class org.extendj.ast.AbstractWildcardType

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

Fields inherited from org.extendj.ast.TypeDecl

Fields inherited from org.extendj.ast.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value