KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > aop > annotation > ast > ASTSingleMemberValue


1 /* Generated By:JJTree: Do not edit this line. ASTSingleMemberValue.java */
2
3 package org.jboss.aop.annotation.ast;
4
5 public class ASTSingleMemberValue extends SimpleNode
6 {
7    public ASTSingleMemberValue(int id)
8    {
9       super(id);
10    }
11
12    public ASTSingleMemberValue(AnnotationParser p, int id)
13    {
14       super(p, id);
15    }
16
17
18    /** Accept the visitor. **/
19    public Object JavaDoc jjtAccept(AnnotationParserVisitor visitor, Object JavaDoc data)
20    {
21       return visitor.visit(this, data);
22    }
23
24    private ASTMemberValue value;
25
26    public void jjtAddChild(Node n, int i)
27    {
28       if (n instanceof ASTMemberValue) value = (ASTMemberValue) n;
29    }
30
31    public ASTMemberValue getValue()
32    {
33       return value;
34    }
35 }
36
Popular Tags