@Nullable
 public static HighlightInfo checkFunctionalInterface(
     @NotNull PsiAnnotation annotation, @NotNull LanguageLevel languageLevel) {
   final String errorMessage = LambdaUtil.checkFunctionalInterface(annotation, languageLevel);
   if (errorMessage != null) {
     return HighlightInfo.newHighlightInfo(HighlightInfoType.ERROR)
         .range(annotation)
         .descriptionAndTooltip(errorMessage)
         .create();
   }
   return null;
 }