+ this.isenum = false;
+ this.enumvalue = -1;
+ }
+
+ public ClassDescriptor getClassDescriptor() {
+ return this.cn;
+ }
+
+ public void setClassDescriptor(ClassDescriptor cn) {
+ this.cn = cn;
+ }
+
+ public String getSafeSymbol() {
+ if (isStatic()) {
+ return cn.getSafeSymbol()+safename;
+ } else
+ return safename;
+ }
+
+ public boolean isEnum() {
+ return this.isenum;
+ }
+
+ public int enumValue() {
+ return this.enumvalue;
+ }
+
+ public void setAsEnum() {
+ this.isenum = true;
+ }
+
+ public void setEnumValue(int value) {
+ this.enumvalue = value;
+ }
+
+ public ExpressionNode getExpressionNode() {
+ return en;
+ }
+
+ public boolean isFinal() {
+ return modifier.isFinal();