]> source.dussan.org Git - aspectj.git/commitdiff
better named fields V1_6_1x
authoraclement <aclement>
Wed, 28 May 2008 21:34:29 +0000 (21:34 +0000)
committeraclement <aclement>
Wed, 28 May 2008 21:34:29 +0000 (21:34 +0000)
weaver/src/org/aspectj/weaver/ast/Not.java
weaver/src/org/aspectj/weaver/ast/Var.java

index 1826f9c05b62c800f9b9742248b366d9e0f78dd6..d6db5727f4940a9c52f3860141a7647767d45923 100644 (file)
@@ -15,11 +15,11 @@ package org.aspectj.weaver.ast;
 
 
 public class Not extends Test {
-       Test body;
+       Test test;
 
-       public Not(Test left) {
+       public Not(Test test) {
                super();
-               this.body = left;
+               this.test = test;
        }
 
        public void accept(ITestVisitor v) {
@@ -27,17 +27,17 @@ public class Not extends Test {
        }
        
        public Test getBody() {
-               return body;
+               return test;
        }
        
        public String toString() {
-               return "!" + body;
+               return "!" + test;
        }
 
        public boolean equals(Object other) {
                if (other instanceof Not) {
                        Not o = (Not) other;
-                       return o.body.equals(body);
+                       return o.test.equals(test);
                } else {
                        return false;
                }
index 920bd01fa01c6774d1f33775b4add90776ef207e..3b2450d1652704783972242dcdfccd0ef8d0e951 100644 (file)
@@ -15,21 +15,20 @@ package org.aspectj.weaver.ast;
 
 import org.aspectj.weaver.ResolvedType;
 
-
 public class Var extends Expr {
-       ResolvedType type;
+       ResolvedType variableType;
 
-       public Var(ResolvedType type) {
+       public Var(ResolvedType variableType) {
                super();
-               this.type = type;               
+               this.variableType = variableType;               
        }
     
        public ResolvedType getType() {
-               return type;
+               return variableType;
        }
 
        public String toString() {
-               return "(Var " + type + ")";
+               return "(Var " + variableType + ")";
        }
     
     public void accept(IExprVisitor v) {