void (@NotNull AnActionEvent e) { ReferenceType selectedClass = DebuggerActionUtil.getSelectedClass(e); if (selectedClass instanceof ArrayType) { e.getPresentation().setEnabled(false); } else { super.update(e); } }