If the linter cares so much about making code point-free maybe they should start suggesting refactors like
foo x = bar x (baz x)
foo = bar <*> baz
where genBranchLabels = do (,,,) <$> freshBranchLabel "if_" <*> freshBranchLabel "then_" <*> freshBranchLabel "else_" <*> freshBranchLabel "endif_"
Cg<Tuple4<String, String, String, String>> genBranchLabels() { return freshBranchLabel("if_") .flatMap(i -> freshBranchLabel("then_") .flatMap(th -> freshBranchLabel("else_") .flatMap(el -> freshBranchLabel("endif_") .map(ei -> new Tuple4<>(i, th, el, ei))))); }