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) {
}
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;
}
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) {