void (XValueNodeImpl node, @NotNull String nodeName, AnActionEvent e) { final Project project = e.getProject(); if (project != null) { final XDebugSession debugSession = DebuggerUIUtil.getSession(e); final ObjectReference ref = getObjectReference(node); if (debugSession != null && ref != null) { final ReferenceType referenceType = ref.referenceType(); new InstancesWindow(debugSession, l -> { final List<ObjectReference> instances = referenceType.instances(l); return instances == null ? Collections.emptyList() : ContainerUtil.map(instances, JavaReferenceInfo::new); }, referenceType).show(); } } }