void (@NotNull FileColorConfiguration configuration, boolean isProjectLevel) { List<FileColorConfiguration> configurations = isProjectLevel ? myProjectLevelConfigurations : myApplicationLevelConfigurations; if (!configurations.contains(configuration)) { configurations.add(configuration); } }