void (PsiClass recordClass, PsiField convertedField) { // converted field may have wrong annotation fqn, so we have to find the origin field at first PsiField originSerialVersionUIDField = getSerialVersionUIDField(recordClass); if (originSerialVersionUIDField == null || !originSerialVersionUIDField.hasAnnotation(CommonClassNames.JAVA_IO_SERIAL)) { AddSerialVersionUIDFix.annotateFieldWithSerial(convertedField); } }