@Override
  public void resetElements(PsiMethodMember[] elements) {
    super.resetElements(elements);
    if (myOptionControls.length > 0 && myFile.getLanguage().is(JavaLanguage.INSTANCE)) {
      myGenerateJavadocCheckBox = new JBCheckBox(JavaBundle.message("methods.to.override.generate.javadoc"));
      myGenerateJavadocCheckBox.setSelected(isGenerateJavadoc());
      myOptionControls = ArrayUtil.insert(super.getOptionControls(), 1, myGenerateJavadocCheckBox);
    }
  }
@Override
  public void resetElements(PsiMethodMember[] elements)