MCPcopy Create free account
hub / github.com/apache/cloudstack / write_java

Function write_java

tools/apidoc/gen_toc.py:403–418  ·  view source on GitHub ↗
(out)

Source from the content-addressed store, hash-verified

401
402
403def write_java(out):
404 with open(out, 'w') as f:
405 f.write('''/* Generated using gen_toc.py. Do not edit. */
406
407import java.util.HashSet;
408import java.util.Set;
409
410public class XmlToHtmlConverterData {
411 Set<String> allCommandNames = new HashSet<String>();
412''&#x27;)
413 f.write(java_for_user(ROOT_ADMIN) + "\n")
414
415 f.write(''&#x27;
416}
417
418''&#x27;)
419
420
421write_xml('generatetoc_include.xsl', ROOT_ADMIN)

Callers 1

gen_toc.pyFile · 0.85

Calls 2

java_for_userFunction · 0.85
writeMethod · 0.65

Tested by

no test coverage detected