public static GroovyApplicationSettings getInstance() {
    return ApplicationManager.getApplication().getService(GroovyApplicationSettings.class);
  }
public static GroovyApplicationSettings getInstance()