void (@NotNull AnActionEvent e) { super.update(e); if(this.getClass() != RefreshExternalProjectAction.class) return; ProjectSystemId systemId = getSystemId(e); final String systemIdNameText = systemId != null ? systemId.getReadableName() : "External"; final String systemIdNameDescription = systemId != null ? systemId.getReadableName() : "external"; Presentation presentation = e.getPresentation(); presentation.setText(ExternalSystemBundle.messagePointer("action.refresh.project.text", systemIdNameText)); presentation.setDescription(ExternalSystemBundle.messagePointer("action.refresh.project.description", systemIdNameDescription)); }