private JpsJavaCompilerOptions getJavaCompilerSettings() {
    CompilerOptions compilerOptions = getDefaultCompiler().getOptions();
    return compilerOptions instanceof JpsJavaCompilerOptions ? (JpsJavaCompilerOptions)compilerOptions : null;
  }
private JpsJavaCompilerOptions getJavaCompilerSettings()