private static @NotNull FileChooserDescriptor createDescriptor(UserDefinedJsonSchemaConfiguration.Item item) {
    return item.mappingKind == JsonMappingKind.File
           ? FileChooserDescriptorFactory.createSingleFileNoJarsDescriptor()
           : FileChooserDescriptorFactory.createSingleFolderDescriptor();
  }
private static @NotNull FileChooserDescriptor createDescriptor(UserDefinedJsonSchemaConfiguration.Item item)