@Override
    public void visitReferenceExpression(@NotNull GrReferenceExpression expression) {
      if(org.jetbrains.plugins.groovy.lang.psi.util.PsiUtil.isSuperReference(expression.getQualifierExpression())) {
        PsiElement resolved = expression.resolve();
        if (resolved == null || resolved instanceof PsiMethod && shouldFixSuper((PsiMethod) resolved)) {
          expression.setQualifier(null);
        }
      }
      else if (org.jetbrains.plugins.groovy.lang.psi.util.PsiUtil.isSuperReference(expression)) {
        expression.replaceWithExpression(myThisExpression, true);
      }
    }
@Override
    public void visitReferenceExpression(@NotNull GrReferenceExpression expression)