MCPcopy Index your code
hub / github.com/badvision/jace / buildOptions

Method buildOptions

src/main/java/jace/ide/Program.java:202–218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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);

Callers 2

createEditorMethod · 0.95
CompletionFunction · 0.80

Calls 2

nameMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected