private GroovyCodeStyleSettings getSettings() {
    return CodeStyleSettingsManager.getInstance(myProject).getCurrentSettings().getCustomSettings(GroovyCodeStyleSettings.class);
  }
private GroovyCodeStyleSettings getSettings()