void (@NotNull GrClassInitializer initializer) { final PsiClass aClass = initializer.getContainingClass(); if (GrTraitUtil.isInterface(aClass)) { final TextRange range = GrHighlightUtil.getInitializerHeaderTextRange(initializer); myHolder.newAnnotation(HighlightSeverity.ERROR, GroovyBundle.message("initializers.are.not.allowed.in.interface")).range(range).create(); } }