private static boolean isNonNlsAnnotatedModifierListOwner(
    @Nullable PsiElement element) {
    if (!(element instanceof PsiModifierListOwner variable)) {
      return false;
    }
    return AnnotationUtil.isAnnotated(variable, AnnotationUtil.NON_NLS, CHECK_EXTERNAL);
  }
private static boolean isNonNlsAnnotatedModifierListOwner(
    @Nullable PsiElement element)