@NotNull Stream<Map.Entry<@Nls String, JPanel>> createNamedPanels() {
      return myModels.entrySet()
        .stream()
        .map(entry -> Map.entry(DiagnosticBundle.message(entry.getKey()),
                                createPanel(entry.getValue())));
    }
@NotNull Stream<Map.Entry<@Nls String, JPanel>> createNamedPanels()