private static String getGroovyVersion(PsiElement element) {
    final Module module = ModuleUtilCore.findModuleForPsiElement(element);
    if (module == null) {
      return null;
    }
    return GroovyConfigUtils.getInstance().getSDKVersion(module);
  }
private static String getGroovyVersion(PsiElement element)