boolean (@NotNull PsiElement element) { final Language language = element.getLanguage(); if (!GroovyLanguage.INSTANCE.equals(language)) { return false; } GroovyInlineASTTransformationPerformer performer = GroovyInlineTransformationUtilKt.getHierarchicalInlineTransformationPerformer(element); return performer != null && performer.computeStaticReference(element) != null; }