void (@NotNull PsiElement psiElement, @NotNull AnnotationHolder holder) { if (psiElement instanceof Header header) { String name = header.getName(); if (!isValidName(name)) { holder.newAnnotation(HighlightSeverity.ERROR, ManifestBundle.message("header.name.invalid")).range(header.getNameElement()).create(); } else { HeaderParser headerParser = HeaderParserRepository.getInstance().getHeaderParser(name); if (headerParser != null) { headerParser.annotate(header, holder); } } } }