more toString impls to simplify debugging

This commit is contained in:
Egor.Ushakov
2015-03-02 17:56:53 +03:00
parent 16de6cbf0f
commit cd33441da9
2 changed files with 12 additions and 2 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -82,4 +82,9 @@ public class AssignmentEvaluator implements Evaluator{
public Modifier getModifier() {
return myLeftEvaluator.getModifier();
}
@Override
public String toString() {
return myLeftEvaluator + " = " + myRightEvaluator;
}
}
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -79,4 +79,9 @@ public class ThisEvaluator implements Evaluator {
}
return null;
}
@Override
public String toString() {
return "this";
}
}