IDEA-156071 Simple static method renderers are much slower than toString - removed duplicated findClass

This commit is contained in:
Egor.Ushakov
2016-05-17 20:23:14 +03:00
parent 6546e28484
commit 50c1d859cd
@@ -108,7 +108,7 @@ public class MethodEvaluator implements Evaluator {
referenceType = ((ObjectReference)object).referenceType();
}
else if (isInvokableType(object)) {
referenceType = debugProcess.findClass(context, ((ReferenceType)object).name(), context.getClassLoader());
referenceType = (ReferenceType)object;
}
else {
final String className = myClassName != null? myClassName.getName(debugProcess) : null;