void (@NotNull Object model, @NotNull Class modelClazz, @NotNull P project) { ProjectIdentifier projectIdentifier = getProjectIdentifier(project); myModelsById.put(extractMapKey(modelClazz, projectIdentifier), model); }