AST
node type ParTypeAccess

General Info

Production
ParTypeAccess : Access ::= TypeAccess:Access TypeArgument:Access*;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<ASTNode>
          extended by AST.Expr
              extended by AST.Access
                  extended by AST.ParTypeAccess
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>

Description

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

Member Filters

API level:

Aspect:

Constructors

public ParTypeAccess()
 
public ParTypeAccess(Access p0,
                     List<Access> p1)
 

Attributes

Overrides:unqualifiedScope in class Access
Source
Declared in Java1.4Frontend/LookupMethod.jrag at line 17
Aspect
LookupMethod
syn TypeDecl type()
Overrides:type in class Access
Source
Declared in Java1.5Frontend/Generics.jrag at line 273
Aspect
GenericsTypeAnalysis
Source
Declared in Java1.5Frontend/Generics.jrag at line 287
Aspect
GenericsTypeAnalysis
syn boolean isTypeAccess()
Overrides:isTypeAccess in class Expr
Source
Declared in Java1.4Frontend/ResolveAmbiguousNames.jrag at line 13
Aspect
AccessTypes
syn Access substituted(java.util.Collection<TypeVariable> original,
                   List<TypeVariable> substitution)
Builds a copy of this Access node where all occurrences of type variables in the original type parameter list have been replaced by the substitution type parameters.
Overrides:substituted in class Access
Returns:
the substituted Access node
Source
Declared in Java7Frontend/TypeInference.jrag at line 406
Aspect
TypeInference

Methods

public void flushCache()
Overrides:flushCache in class Access
public void flushCollectionCache()
Overrides:flushCollectionCache in class Access
public ParTypeAccess clone()
                    throws java.lang.CloneNotSupportedException
Overrides:clone in class Access
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 boolean isRaw()
Source
Declared in Java1.5Frontend/Generics.jrag at line 336
Aspect
GenericsTypeAnalysis
public void typeCheck()
Overrides:typeCheck in class ASTNode<ASTNode>
Source
Declared in Java1.5Frontend/Generics.jrag at line 444
Aspect
GenericsTypeCheck
public void toString(java.lang.StringBuffer s)
Overrides:toString in class ASTNode<ASTNode>
Source
Declared in Java1.5Frontend/GenericsPrettyPrint.jrag at line 23
Aspect
GenericsPrettyPrint
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class Access
protected int numChildren()
Overrides:numChildren in class Access
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class Access
public void setTypeAccess(Access node)
Replaces the TypeAccess child.
Parameters:
node - The new node to replace the TypeAccess child.
Retrieves the TypeAccess child.
Returns:
The current node used as the TypeAccess child.
Retrieves the TypeAccess child.

This method does not invoke AST transformations.

Returns:
The current node used as the TypeAccess child.
public void setTypeArgumentList(List<Access> list)
Replaces the TypeArgument list.
Parameters:
list - The new list node to be used as the TypeArgument list.
public int getNumTypeArgument()
Retrieves the number of children in the TypeArgument list.
Returns:
Number of children in the TypeArgument list.
Retrieves the number of children in the TypeArgument list. Calling this method will not trigger rewrites..
Returns:
Number of children in the TypeArgument list.
public Access getTypeArgument(int i)
Retrieves the element at index i in the TypeArgument list..
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the TypeArgument list.
public void addTypeArgument(Access node)
Append an element to the TypeArgument list.
Parameters:
node - The element to append to the TypeArgument list.
public void setTypeArgument(Access node,
                            int i)
Replaces the TypeArgument list element at index i with the new node node.
Parameters:
node - The new node to replace the old list element.
i - The list index of the node to be replaced.
Retrieves the TypeArgument list.
Returns:
The node representing the TypeArgument list.
Retrieves the TypeArgument list.

This method does not invoke AST transformations.

Returns:
The node representing the TypeArgument list.
Retrieves the TypeArgument list.
Returns:
The node representing the TypeArgument list.
Retrieves the TypeArgument list.

This method does not invoke AST transformations.

Returns:
The node representing the TypeArgument list.
public SimpleSet Define_SimpleSet_lookupType(ASTNode caller,
                                             ASTNode child,
                                             java.lang.String name)
Overrides:Define_SimpleSet_lookupType in class ASTNode<ASTNode>
Source
Declared in Java1.5Frontend/Generics.jrag at line 265
Overrides:rewriteTo in class Access

Fields

protected boolean type_computed

Inherited Members

Attributes inherited from AST.Access

Attributes inherited from AST.Expr

Attributes inherited from AST.ASTNode

Methods inherited from class AST.Access

Methods inherited from class AST.Expr

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

Fields inherited from AST.Access

Fields inherited from AST.Expr

Fields inherited from AST.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value