MCPcopy Index your code
hub / github.com/clojure/clojure / newModule

Method newModule

src/jvm/clojure/asm/ClassWriter.java:779–781  ·  view source on GitHub ↗

Adds a module reference to the constant pool of the class being build. Does nothing if the constant pool already contains a similar item. This method is intended for Attribute sub classes, and is normally not needed by class generators or adapters. @param moduleName name of the modul

(final String moduleName)

Source from the content-addressed store, hash-verified

777 * @return the index of a new or already existing module reference item.
778 */
779 public int newModule(final String moduleName) {
780 return symbolTable.addConstantModule(moduleName).index;
781 }
782
783 /**
784 * Adds a package reference to the constant pool of the class being build. Does nothing if the

Callers

nothing calls this directly

Calls 1

addConstantModuleMethod · 0.80

Tested by

no test coverage detected