String (@NotNull JpsModel model) { JpsEncodingProjectConfiguration configuration = getEncodingConfiguration(model.getProject()); if (configuration != null) { String projectEncoding = configuration.getProjectEncoding(); if (projectEncoding != null) { return projectEncoding; } } return getGlobalEncoding(model.getGlobal()); }