void (@NotNull GroovyPsiElement element) { int oldCount = 0; if (element instanceof GrMethod) { oldCount = negationCount; } super.visitElement(element); if (element instanceof GrMethod) { negationCount = oldCount; } }