void (@NotNull PyAnnotation node) { final PsiElement parent = node.getParent(); if (!(parent instanceof PyFunction || parent instanceof PyNamedParameter)) { registerForAllMatchingVersions(level -> level.isOlderThan(LanguageLevel.PYTHON36) && registerForLanguageLevel(level), PyPsiBundle.message("INSP.compatibility.feature.support.variable.annotations"), node); } }