boolean (@NotNull XValueNodeImpl node, @NotNull AnActionEvent e) { final ObjectReference ref = getObjectReference(node); final boolean enabled = ref != null && ref.virtualMachine().canGetInstanceInfo(); if (enabled) { final String text = JavaDebuggerBundle.message("action.show.objects.text", StringUtil.getShortName(ref.referenceType().name())); e.getPresentation().setText(text); } return enabled; }