PsiElement (PsiMethodCallExpression streamCall) { PsiElement maybeMap = ExpressionUtils.getCallForQualifier(streamCall); if(maybeMap == null) return null; Project project = streamCall.getProject(); PsiElement result = new CommentTracker().replaceAndRestoreComments(maybeMap, myReplacement); return JavaCodeStyleManager.getInstance(project).shortenClassReferences(result); }