void (@NotNull String name, boolean isProjectLevel) { if (isProjectLevel) { myProjectProfileManager.setRootProfile(name); } else { myApplicationProfileManager.setRootProfile(name); myProjectProfileManager.useApplicationProfile(name); } }