()
| 200 | } |
| 201 | |
| 202 | private String buildOptions() { |
| 203 | StringBuilder builder = new StringBuilder(); |
| 204 | builder.append("{"); |
| 205 | options.forEach((Option o, Object v) -> { |
| 206 | if (builder.length() >= 2) { |
| 207 | builder.append(",\n"); |
| 208 | } |
| 209 | builder.append(o.name()).append(":"); |
| 210 | if (v instanceof String) { |
| 211 | builder.append('"').append(v).append('"'); |
| 212 | } else { |
| 213 | builder.append(v); |
| 214 | } |
| 215 | }); |
| 216 | builder.append("}"); |
| 217 | return builder.toString(); |
| 218 | } |
| 219 | |
| 220 | public void execute() throws Exception { |
| 221 | lastResult = getHandler().compile(this); |
no test coverage detected