mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
toString implementations for easier debug
This commit is contained in:
+5
@@ -46,4 +46,9 @@ public class DisableGC implements Evaluator{
|
||||
public Modifier getModifier() {
|
||||
return myDelegate.getModifier();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "NoGC -> " + myDelegate;
|
||||
}
|
||||
}
|
||||
|
||||
+6
-1
@@ -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.
|
||||
@@ -66,4 +66,9 @@ class LiteralEvaluator implements Evaluator {
|
||||
throw EvaluateExceptionUtil
|
||||
.createEvaluateException(DebuggerBundle.message("evaluation.error.unknown.expression.type", myExpectedType));
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return myValue.toString();
|
||||
}
|
||||
}
|
||||
|
||||
+6
-1
@@ -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.
|
||||
@@ -156,4 +156,9 @@ class LocalVariableEvaluator implements Evaluator {
|
||||
}
|
||||
return modifier;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return myLocalVariableName;
|
||||
}
|
||||
}
|
||||
|
||||
+5
@@ -211,4 +211,9 @@ public class MethodEvaluator implements Evaluator {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "call " + myMethodName;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user