boolean () { // returns parallel compilation flag first by looking into workspace.xml and then intellij.yaml //noinspection deprecation Boolean workspaceParallelCompilation = CompilerWorkspaceConfiguration.getInstance(myProject).PARALLEL_COMPILATION; if (workspaceParallelCompilation != null) { return workspaceParallelCompilation; } return CompilerConfigurationSettings.Companion.getInstance(myProject).isParallelCompilationEnabled(); }