void (@NotNull PsiField field) { super.visitField(field); PsiClass psiClass = MissingSerialAnnotationInspection.getSerializablePsiClass(field); if (psiClass == null || !psiClass.isRecord()) return; if (SerializationUtils.isExternalizable(psiClass)) return; if (SerializationUtils.isSerialPersistentFields(field)) { registerFieldError(field, field); } }