@Override
  public void visitElement(@NotNull GroovyPsiElement GrElement) {
    int oldComplexity = 0;
    if (GrElement instanceof GrMethod) {
      oldComplexity = complexity;
    }
    super.visitElement(GrElement);

    if (GrElement instanceof GrMethod) {
      complexity = oldComplexity;
    }
  }
@Override
  public void visitElement(@NotNull GroovyPsiElement GrElement)