void (@NotNull ActionContext context, @NotNull PsiField field, @NotNull ModPsiUpdater updater) { PsiTypeElement element = field.getTypeElement(); if (element == null) return; element.replace(JavaPsiFacade.getInstance(context.project()).getElementFactory().createTypeElement(myTypeToSet)); }