boolean (@NotNull AnnotationHolder holder, @NotNull GrAnnotation annotation) { if (!BuilderAnnotationContributor.BUILDER_FQN.equals(annotation.getQualifiedName())) return false; if(BuilderAnnotationContributor.isApplicable(annotation, SimpleBuilderStrategySupport.SIMPLE_STRATEGY_NAME) && BuilderAnnotationContributor.isIncludeSuperProperties(annotation)) { holder.newAnnotation(HighlightSeverity.ERROR, GroovyBundle.message("builder.annotation.not.support.super.for.simple.strategy")).range(annotation).create(); return true; } return false; }