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