boolean (@NotNull AnnotationHolder holder, @NotNull GrAnnotation annotation) { final ArrayList<GrAnnotation> aliasedAnnotations = getAliasedAnnotations(annotation); if (aliasedAnnotations == null) { return false; } GrCodeReferenceElement ref = annotation.getClassReference(); for (GrAnnotation aliased : aliasedAnnotations) { PsiElement toHighlight = AliasedAnnotationHolder.findCodeElement(ref, annotation, ref); AnnotationChecker.checkApplicability(aliased, annotation.getOwner(), holder, toHighlight); } return true; }