private static GroovyCodeStyleSettings getGroovySettings(CodeStyleSettings settings) {
    return settings.getCustomSettings(GroovyCodeStyleSettings.class);
  }
private static GroovyCodeStyleSettings getGroovySettings(CodeStyleSettings settings)