org.extendj.ast
node type ElementAnnotationValue

General Info

Production
ElementAnnotationValue : ElementValue ::= Annotation;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by org.extendj.ast.ASTNode<ASTNode>
          extended by org.extendj.ast.ElementValue
              extended by org.extendj.ast.ElementAnnotationValue
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>, org.jastadd.util.PrettyPrintable

Description

Source
Declared in /home/jesper/git/extendj/java5/grammar/Annotations.ast at line 12

Member Filters

API level:

Aspect:

Constructors

public ElementAnnotationValue()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public ElementAnnotationValue(Annotation p0)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 13

Attributes

Overrides:commensurateWithTypeDecl in class ElementValue
Source
Declared in /home/jesper/git/extendj/java5/frontend/Annotations.jrag at line 558
Aspect
Annotations
Overrides:type in class ElementValue
Source
Declared in /home/jesper/git/extendj/java5/frontend/Annotations.jrag at line 607
Aspect
Annotations
Source
Declared in /home/jesper/git/extendj/java5/frontend/Annotations.jrag at line 504
Aspect
Annotations

Methods

public void prettyPrint(org.jastadd.util.PrettyPrinter out)
Specified by:prettyPrint in interface org.jastadd.util.PrettyPrintableOverrides:prettyPrint in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java5/frontend/PrettyPrint.jadd at line 81
Aspect
Java5PrettyPrint
public void appendAsAttributeTo(org.extendj.ast.Attribute buf)
Overrides:appendAsAttributeTo in class ElementValue
Source
Declared in /home/jesper/git/extendj/java5/backend/AnnotationsCodegen.jrag at line 280
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
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class ElementValue
Source
Declared in /home/jesper/git/extendj/ASTNode at line 19
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class ElementValue
Source
Declared in /home/jesper/git/extendj/ASTNode at line 25
public void flushAttrCache()
Overrides:flushAttrCache in class ElementValue
Source
Declared in /home/jesper/git/extendj/ASTNode at line 31
public void flushCollectionCache()
Overrides:flushCollectionCache in class ElementValue
Source
Declared in /home/jesper/git/extendj/ASTNode at line 37
public void flushRewriteCache()
Overrides:flushRewriteCache in class ElementValue
Source
Declared in /home/jesper/git/extendj/ASTNode at line 43
public ElementAnnotationValue clone()
                             throws java.lang.CloneNotSupportedException
Overrides:clone in class ElementValue
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 49
Overrides:copy in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 56
@Deprecated
public ElementAnnotationValue 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 ElementValue
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 75
public ElementAnnotationValue 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 ElementValue
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 85
public ElementAnnotationValue 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 ElementValue
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 105
protected boolean is$Equal(ASTNode node)
Overrides:is$Equal in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 112
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_mayUseAnnotationTarget(ASTNode caller,
                                             ASTNode child,
                                             java.lang.String name)
Overrides:Define_mayUseAnnotationTarget in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java5/frontend/Annotations.jrag at line 96
protected boolean canDefine_mayUseAnnotationTarget(ASTNode caller,
                                                   ASTNode child,
                                                   java.lang.String name)
public Annotation Define_lookupAnnotation(ASTNode caller,
                                          ASTNode child,
                                          TypeDecl typeDecl)
Overrides:Define_lookupAnnotation in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java5/frontend/Annotations.jrag at line 504
protected boolean canDefine_lookupAnnotation(ASTNode caller,
                                             ASTNode child,
                                             TypeDecl typeDecl)
Overrides:rewriteTo in class ElementValue

Inherited Members

Attributes inherited from org.extendj.ast.ElementValue

Attributes inherited from org.extendj.ast.ASTNode

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

Fields inherited from beaver.Symbol

end
id
start
value