void (@NotNull ActionContext context, @NotNull PsiMethodCallExpression call, @NotNull ModPsiUpdater updater) { PsiClass aClass = PsiTreeUtil.getParentOfType(call, PsiClass.class); assert aClass != null; PsiExpression classLiteral = JavaPsiFacade.getElementFactory(context.project()).createExpressionFromText(aClass.getName() + ".class", call); new CommentTracker().replaceAndRestoreComments(call, classLiteral); }