AST
node type ElementAnnotationValue

General Info

Production
ElementAnnotationValue : ElementValue ::= Annotation;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<ASTNode>
          extended by AST.ElementValue
              extended by AST.ElementAnnotationValue
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>

Description

Source
Declared in Java1.5Frontend/Annotations.ast at line 12

Member Filters

API level:

Aspect:

Constructors

Attributes

Overrides:commensurateWithTypeDecl in class ElementValue
Source
Declared in Java1.5Frontend/Annotations.jrag at line 475
Aspect
Annotations
syn TypeDecl type()
Overrides:type in class ElementValue
Source
Declared in Java1.5Frontend/Annotations.jrag at line 510
Aspect
Annotations
Source
Declared in Java1.5Frontend/Annotations.jrag at line 423
Aspect
Annotations

Methods

public void flushCache()
Overrides:flushCache in class ElementValue
public void flushCollectionCache()
Overrides:flushCollectionCache in class ElementValue
public ElementAnnotationValue clone()
                             throws java.lang.CloneNotSupportedException
Overrides:clone in class ElementValue
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 toString(java.lang.StringBuffer s)
Overrides:toString in class ASTNode<ASTNode>
Source
Declared in Java1.5Frontend/Annotations.jrag at line 600
Aspect
Annotations
public void appendAsAttributeTo(Attribute buf)
Overrides:appendAsAttributeTo in class ElementValue
Source
Declared in Java1.5Backend/AnnotationsCodegen.jrag at line 220
Aspect
AnnotationsCodegen
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class ElementValue
protected int numChildren()
Overrides:numChildren in class ElementValue
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class ElementValue
public void setAnnotation(Annotation node)
Replaces the Annotation child.
Parameters:
node - The new node to replace the Annotation child.
Retrieves the Annotation child.
Returns:
The current node used as the Annotation child.
Retrieves the Annotation child.

This method does not invoke AST transformations.

Returns:
The current node used as the Annotation child.
public boolean Define_boolean_mayUseAnnotationTarget(ASTNode caller,
                                                     ASTNode child,
                                                     java.lang.String name)
Overrides:Define_boolean_mayUseAnnotationTarget in class ASTNode<ASTNode>
Source
Declared in Java1.5Frontend/Annotations.jrag at line 95
Overrides:Define_Annotation_lookupAnnotation in class ASTNode<ASTNode>
Source
Declared in Java1.5Frontend/Annotations.jrag at line 427
Overrides:rewriteTo in class ElementValue

Inherited Members

Attributes inherited from AST.ElementValue

Attributes inherited from AST.ASTNode

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

Fields inherited from beaver.Symbol

end
id
start
value