org.extendj.ast
node type BoundTypeAccess

General Info

Production
BoundTypeAccess : TypeAccess ::= <TypeDecl:TypeDecl>;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by org.extendj.ast.ASTNode<ASTNode>
          extended by org.extendj.ast.Expr
              extended by org.extendj.ast.Access
                  extended by org.extendj.ast.TypeAccess
                      extended by org.extendj.ast.BoundTypeAccess
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>, org.jastadd.util.PrettyPrintable

Description

Source
Declared in /home/jesper/git/extendj/java4/grammar/BoundNames.ast at line 8

Member Filters

API level:

Aspect:

Constructors

public BoundTypeAccess()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public BoundTypeAccess(java.lang.String p0,
                       java.lang.String p1,
                       TypeDecl p2)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 12
public BoundTypeAccess(beaver.Symbol p0,
                       beaver.Symbol p1,
                       TypeDecl p2)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 17

Attributes

@ASTNodeAnnotation.Attribute
syn org.extendj.ast.SimpleSet decls()
Overrides:decls in class TypeAccess
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupType.jrag at line 291
Aspect
TypeScopePropagation
WARNING: this attribute is not the same as TypeDecl.isWildcard, which returns true for any wildcard type (even bounded wildcard types).
Overrides:isWildcard in class Access
Returns:
true if this is an unbounded wildcard access
Source
Declared in /home/jesper/git/extendj/java5/frontend/ReifiableTypes.jrag at line 106
Aspect
ReifiableTypes

Methods

public boolean isRaw()
Description copied from class: TypeAccessThis method assumes that the bound type is generic.
Overrides:isRaw in class TypeAccess
Source
Declared in /home/jesper/git/extendj/java5/frontend/Generics.jrag at line 412
Aspect
GenericsTypeAnalysis
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 25
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 31
public void flushAttrCache()
Overrides:flushAttrCache in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 37
public void flushCollectionCache()
Overrides:flushCollectionCache in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 44
public void flushRewriteCache()
Overrides:flushRewriteCache in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 50
public BoundTypeAccess clone()
                      throws java.lang.CloneNotSupportedException
Overrides:clone in class TypeAccess
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 56
public BoundTypeAccess copy()
Overrides:copy in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 63
@Deprecated
public BoundTypeAccess 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 TypeAccess
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 82
public BoundTypeAccess 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 TypeAccess
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 92
public BoundTypeAccess 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 TypeAccess
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 112
protected boolean is$Equal(ASTNode node)
Overrides:is$Equal in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 119
public void setPackage(java.lang.String value)
Replaces the lexeme Package.
Overrides:setPackage in class TypeAccess
Parameters:
value - The new value for the lexeme Package.
public void setPackage(beaver.Symbol symbol)
JastAdd-internal setter for lexeme Package using the Beaver parser.
Overrides:setPackage in class TypeAccess
Parameters:
symbol - Symbol containing the new value for the lexeme Package
@ASTNodeAnnotation.Token(name="Package")
public java.lang.String getPackage()
Retrieves the value for the lexeme Package.
Overrides:getPackage in class TypeAccess
Returns:
The value for the lexeme Package.
public void setID(java.lang.String value)
Replaces the lexeme ID.
Overrides:setID in class TypeAccess
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 TypeAccess
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 TypeAccess
Returns:
The value for the lexeme ID.
public void setTypeDecl(TypeDecl value)
Replaces the lexeme TypeDecl.
Parameters:
value - The new value for the lexeme TypeDecl.
Retrieves the value for the lexeme TypeDecl.
Returns:
The value for the lexeme TypeDecl.
Overrides:rewriteTo in class TypeAccess

Fields

protected boolean decls_computed
protected org.extendj.ast.SimpleSet decls_value

Inherited Members

Attributes inherited from org.extendj.ast.TypeAccess

Attributes inherited from org.extendj.ast.Access

Attributes inherited from org.extendj.ast.Expr

Attributes inherited from org.extendj.ast.ASTNode

Methods inherited from class org.extendj.ast.TypeAccess

Methods inherited from class org.extendj.ast.Access

Methods inherited from class org.extendj.ast.Expr

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

Fields inherited from org.extendj.ast.Access

Fields inherited from org.extendj.ast.Expr

Fields inherited from org.extendj.ast.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value