void (@NotNull Project project, @NotNull PsiElement startElement, @NotNull ModPsiUpdater updater) { final PsiIdentifier nameIdentifier = (PsiIdentifier)startElement; final PsiReferenceExpression reference = (PsiReferenceExpression)nameIdentifier.getParent(); assert reference != null; final String name = reference.getReferenceName(); PsiReplacementUtil.replaceExpression(reference, "StrictMath." + name, new CommentTracker()); }