AST
node type TypeAccess

General Info

Production
TypeAccess : Access ::= <Package:String> <ID:String>;
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.TypeAccess
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>
Direct Known Subclasses:
ArrayTypeAccess, BoundTypeAccess, BytecodeTypeAccess, PrimitiveTypeAccess

Description

Source
Declared in Java1.4Frontend/java.ast at line 23

Member Filters

API level:

Aspect:

Constructors

public TypeAccess(java.lang.String name,
                  int start,
                  int end)
 
Source
Declared in Java1.4Frontend/NodeConstructors.jrag at line 23
Aspect
NodeConstructors
public TypeAccess(java.lang.String typeName)
 
Source
Declared in Java1.4Frontend/NodeConstructors.jrag at line 44
Aspect
NodeConstructors
public TypeAccess()
 
public TypeAccess(java.lang.String p0,
                  java.lang.String p1)
 
public TypeAccess(beaver.Symbol p0,
                  beaver.Symbol p1)
 

Attributes

Source
Declared in Java1.4Frontend/LookupType.jrag at line 223
Aspect
TypeScopePropagation
syn TypeDecl decl()
Source
Declared in Java1.5Frontend/Generics.jrag at line 290
Aspect
GenericsTypeAnalysis
syn SimpleSet qualifiedLookupVariable(java.lang.String name)
Overrides:qualifiedLookupVariable in class Expr
Source
Declared in Java1.4Frontend/LookupVariable.jrag at line 148
Aspect
VariableScope
syn java.lang.String dumpString()
Overrides:dumpString in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/PrettyPrint.jadd at line 800
Aspect
PrettyPrint
syn java.lang.String name()
Source
Declared in Java1.4Frontend/QualifiedNames.jrag at line 21
Aspect
Names
syn java.lang.String packageName()
Overrides:packageName in class Expr
Source
Declared in Java1.4Frontend/QualifiedNames.jrag at line 25
Aspect
Names
syn java.lang.String nameWithPackage()
Source
Declared in Java1.4Frontend/QualifiedNames.jrag at line 49
Aspect
Names
syn java.lang.String typeName()
Overrides:typeName in class Expr
Source
Declared in Java1.4Frontend/QualifiedNames.jrag at line 62
Aspect
Names
syn boolean isTypeAccess()
Overrides:isTypeAccess in class Expr
Source
Declared in Java1.4Frontend/ResolveAmbiguousNames.jrag at line 13
Aspect
AccessTypes
Overrides:predNameType in class Access
Source
Declared in Java1.4Frontend/SyntacticClassification.jrag at line 56
Aspect
SyntacticClassification
syn TypeDecl type()
Overrides:type in class Access
Source
Declared in Java1.4Frontend/TypeAnalysis.jrag at line 279
Aspect
TypeAnalysis
syn boolean staticContextQualifier()
Overrides:staticContextQualifier in class Expr
Source
Declared in Java1.4Frontend/TypeHierarchyCheck.jrag at line 150
Aspect
TypeHierarchyCheck
syn boolean usesTypeVariable()
Overrides:usesTypeVariable in class ASTNode<ASTNode>
Source
Declared in Java1.5Frontend/Generics.jrag at line 1056
Aspect
LookupParTypeDecl
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 TypeAccess clone()
                 throws java.lang.CloneNotSupportedException
Overrides:clone in class Access
Throws:
java.lang.CloneNotSupportedException
public TypeAccess copy()
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 accessControl()
Overrides:accessControl in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/AccessControl.jrag at line 128
Aspect
AccessControl
public void nameCheck()
Overrides:nameCheck in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/NameCheck.jrag at line 160
Aspect
NameCheck
public void toString(java.lang.StringBuffer s)
Overrides:toString in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/PrettyPrint.jadd at line 483
Aspect
PrettyPrint
public void checkModifiers()
Source
Declared in Java1.5Frontend/Annotations.jrag at line 328
Aspect
Annotations
public boolean isRaw()
Source
Declared in Java1.5Frontend/Generics.jrag at line 298
Aspect
GenericsTypeAnalysis
public void typeCheck()
Overrides:typeCheck in class ASTNode<ASTNode>
Source
Declared in Java1.5Frontend/Generics.jrag at line 438
Aspect
GenericsTypeCheck
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 setPackage(java.lang.String value)
Replaces the lexeme Package.
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.
public java.lang.String getPackage()
Retrieves the value for the lexeme Package.
Returns:
The value for the lexeme Package.
public void setID(java.lang.String value)
Replaces the lexeme ID.
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.
public java.lang.String getID()
Retrieves the value for the lexeme ID.
Returns:
The value for the lexeme ID.
public void transformation()
Overrides:transformation in class ASTNode<ASTNode>
Source
Declared in Java1.5Backend/GenericsCodegen.jrag at line 303
Aspect
GenericsCodegen
Overrides:rewriteTo in class Access

Fields

protected java.lang.String tokenString_Package
public int Packagestart
public int Packageend
protected java.lang.String tokenString_ID
public int IDstart
public int IDend
protected boolean decls_computed
protected boolean decl_computed
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