mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-156071 Simple static method renderers are much slower than toString - removed duplicated findClass
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user