CallHandler<CallChainSimplification> () { return CallHandler.of(INT_STREAM_MAP, call -> { PsiExpression mapper = call.getArgumentList().getExpressions()[0]; LimitedContainer limitedContainer = extractContainer(getQualifierMethodCall(call), mapper); if (limitedContainer == null) return null; return new ReplaceWithElementIterationFix(limitedContainer.myContainer, call.getMethodExpression().getReferenceName()); }); }