static HighlightInfo.Builder checkImplicitClassMember(@NotNull PsiMember member, @NotNull LanguageLevel languageLevel,
                                                        @NotNull PsiFile psiFile) {
    if (!(member.getContainingClass() instanceof PsiImplicitClass implicitClass)) {
      return null;
    }

    PsiElement anchor = member;
    if (member instanceof PsiNameIdentifierOwner owner) {
      PsiElement nameIdentifier = owner.getNameIdentifier();
      if (nameIdentifier != null) {
        anchor = nameIdentifier;
      }
    }
    HighlightInfo.Builder builder = HighlightUtil.checkFeature(anchor, JavaFeature.IMPLICIT_CLASSES, languageLevel, psiFile);
    if (builder == null) return null;

    if (!(member instanceof PsiClass)) {
      boolean hasClassToRelocate = PsiTreeUtil.findChildOfType(implicitClass, PsiClass.class) != null;
      if (hasClassToRelocate) {
        MoveMembersIntoClassFix fix = new MoveMembersIntoClassFix(implicitClass);
        builder.registerFix(fix, null, null, null, null);
      }
    }

    return builder;
  }
static HighlightInfo.Builder checkImplicitClassMember(@NotNull PsiMember member, @NotNull LanguageLevel languageLevel,
                                                        @NotNull PsiFile psiFile)