void (@Nullable List<? extends DetectedFrameworkDescription> result, final boolean canceled) { List<? extends DetectedFrameworkDescription> frameworks = ContainerUtil.notNullize(result); myDetectedFrameworksComponent.getTree().rebuildTree(frameworks); if (frameworks.isEmpty()) { myFrameworksDetectedLabel.setText(JavaUiBundle.message("label.text.no.frameworks.detected")); } else { myFrameworksDetectedLabel.setText(JavaUiBundle.message("label.text.the.following.frameworks.are.detected")); } myFrameworksPanel.setVisible(!frameworks.isEmpty()); }