void (@NotNull PsiField field) { super.visitField(field); if (field.hasModifierProperty(PsiModifier.STATIC) || !field.hasModifierProperty(PsiModifier.TRANSIENT)) { return; } final PsiClass containingClass = field.getContainingClass(); if (!SerializationUtils.isSerializable(containingClass)) { return; } final PsiExpression initializer = field.getInitializer(); if (initializer == null && !InitializationUtils.isInitializedInInitializer(field, containingClass) && !InitializationUtils.isInitializedInConstructors(field, containingClass)) { return; } if (SerializationUtils.hasReadObject(containingClass)) { return; } registerFieldError(field); }