void (@Nullable TypeInfo ref) { final XDebugSession debugSession = XDebuggerManager.getInstance(myProject).getCurrentSession(); if (ref != null && debugSession != null && debugSession.isSuspended()) { if (!ref.canGetInstanceInfo()) { XDebuggerManagerImpl.getNotificationGroup() .createNotification(XDebuggerBundle.message("memory.unable.to.get.instances.of.class", ref.name()), NotificationType.INFORMATION).notify(debugSession.getProject()); return; } getInstancesWindow(ref, debugSession).show(); } }