KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > codehaus > aspectwerkz > expression > ast > ASTModifier


1 /* Generated By:JJTree: Do not edit this line. ASTModifier.java */
2 package org.codehaus.aspectwerkz.expression.ast;
3
4 public class ASTModifier extends SimpleNode {
5     private int m_modifier;
6
7     private boolean m_not = false;
8
9     public ASTModifier(int id) {
10         super(id);
11     }
12
13     public ASTModifier(ExpressionParser p, int id) {
14         super(p, id);
15     }
16
17     public Object JavaDoc jjtAccept(ExpressionParserVisitor visitor, Object JavaDoc data) {
18         return visitor.visit(this, data);
19     }
20
21     public void toggleNot() {
22         m_not = !m_not;
23     }
24
25     public boolean isNot() {
26         return m_not;
27     }
28
29     public void setModifier(int modifier) {
30         m_modifier = modifier;
31     }
32
33     public int getModifier() {
34         return m_modifier;
35     }
36 }
Popular Tags