KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > pmd > ast > ASTInitializer


1 /* Generated By:JJTree: Do not edit this line. ASTInitializer.java */
2
3 package net.sourceforge.pmd.ast;
4
5 public class ASTInitializer extends SimpleJavaNode {
6     public ASTInitializer(int id) {
7         super(id);
8     }
9
10     public ASTInitializer(JavaParser p, int id) {
11         super(p, id);
12     }
13
14
15     /**
16      * Accept the visitor. *
17      */

18     public Object JavaDoc jjtAccept(JavaParserVisitor visitor, Object JavaDoc data) {
19         return visitor.visit(this, data);
20     }
21
22     private boolean isStatic;
23
24     public boolean isStatic() {
25         return isStatic;
26     }
27
28     public void setStatic() {
29         isStatic = true;
30     }
31
32     public void dump(String JavaDoc prefix) {
33         System.out.println(toString(prefix) + ":(" + (isStatic ? "static" : "nonstatic") + ")");
34         dumpChildren(prefix);
35     }
36
37 }
38
Popular Tags