List<UserDefinedJsonSchemaConfiguration> () { final List<UserDefinedJsonSchemaConfiguration> list = new ArrayList<>(); final Map<String, UserDefinedJsonSchemaConfiguration> projectState = JsonSchemaMappingsProjectConfiguration .getInstance(myProject).getStateMap(); if (projectState != null) { list.addAll(projectState.values()); } list.sort(COMPARATOR); return list; }