private boolean haveSetDisplayedMnemonic(final Class<?> controlClass, final Module module) {
    PsiClass aClass = JavaPsiFacade.getInstance(myProject).findClass(controlClass.getName(), module.getModuleWithLibrariesScope());
    return aClass != null && aClass.findMethodsByName("setDisplayedMnemonicIndex", true).length > 0;
  }
private boolean haveSetDisplayedMnemonic(final Class<?> controlClass, final Module module)