static HighlightInfo.Builder checkThingNotAllowedInInterface(@NotNull PsiElement element, @Nullable PsiClass aClass) {
    if (aClass == null || !aClass.isInterface()) return null;
    String description = JavaErrorBundle.message("not.allowed.in.interface");
    HighlightInfo.Builder info = HighlightInfo.newHighlightInfo(HighlightInfoType.ERROR).range(element).descriptionAndTooltip(description);
    IntentionAction action1 = QuickFixFactory.getInstance().createDeleteFix(element);
    info.registerFix(action1, null, null, null, null);
    IntentionAction action = QuickFixFactory.getInstance().createConvertInterfaceToClassFix(aClass);
    info.registerFix(action, null, null, null, null);
    return info;
  }
static HighlightInfo.Builder checkThingNotAllowedInInterface(@NotNull PsiElement element, @Nullable PsiClass aClass)