void (@NotNull PsiElement element, @NotNull ActionContext context, @NotNull ModPsiUpdater updater) { GrMethodCall methodCall = (GrMethodCall)element; PsiMethod method = methodCall.resolveMethod(); if (method == null) return; GrStatement replacementElement = getReplacementElement(method, methodCall); if (replacementElement == null) return; ((GrMethodCall)element).replaceWithStatement(replacementElement); }