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