FacetTypeEditor (@NotNull FacetType<?, ?> facetType) { FacetTypeEditor editor = myFacetTypeEditors.get(facetType); if (editor == null) { editor = new FacetTypeEditor(myProject, facetType); editor.reset(); myFacetTypeEditors.put(facetType, editor); } return editor; }