void (@NotNull Project project, @NotNull PsiElement classIdentifier, @NotNull ModPsiUpdater updater) { final PsiClass aClass = (PsiClass)classIdentifier.getParent(); assert aClass != null; final PsiElementFactory elementFactory = JavaPsiFacade.getElementFactory(aClass.getProject()); final long serialVersionUID = SerialVersionUIDBuilder.computeDefaultSUID(aClass); final PsiField field = elementFactory.createFieldFromText(generateSerialVersionUIDFieldText(serialVersionUID), aClass); if (PsiUtil.isLanguageLevel14OrHigher(field)) { annotateFieldWithSerial(field); } aClass.add(field); }