void (@NotNull PsiField field) { if (!field.hasModifierProperty(PsiModifier.TRANSIENT)) { return; } final PsiClass aClass = field.getContainingClass(); if (SerializationUtils.isSerializable(aClass)) { return; } registerModifierError(PsiModifier.TRANSIENT, field, field); }