boolean (@NotNull XValueNodeImpl node, @NotNull AnActionEvent e) { if (!super.isEnabled(node, e)) return false; DebugProcessImpl debugProcess = JavaDebugProcess.getCurrentDebugProcess(e); if (debugProcess == null || !debugProcess.isEvaluationPossible() || !DebuggerSettings.getInstance().ENABLE_MEMORY_AGENT) { e.getPresentation().setVisible(false); return false; } ObjectReference reference = getObjectReference(node); return reference != null; }