void (@NotNull DocumentEvent e) { boolean showMigration = e.getDocument().getLength() > 0; fixLabel.setHyperlinkText( GradleBundle.message("gradle.settings.text.vm.options.link.tooltip") + " ", showMigration ? GradleBundle.message("gradle.settings.text.vm.options.link.text") : " ", ""); }