TerminatorStreamCall (@NotNull GenericType typeBefore, @NotNull PsiMethodCallExpression expression) { final String name = resolveMethodName(expression); final List<CallArgument> args = resolveArguments(expression); final GenericType resultType = resolveTerminationCallType(expression); return new TerminatorStreamCallImpl(name, args, typeBefore, resultType, expression.getTextRange()); }