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

Method newPackage

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

Adds a package 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 packageName name of the pac

(final String packageName)

Source from the content-addressed store, hash-verified

789 * @return the index of a new or already existing module reference item.
790 */
791 public int newPackage(final String packageName) {
792 return symbolTable.addConstantPackage(packageName).index;
793 }
794
795 /**
796 * Adds a handle to the constant pool of the class being build. Does nothing if the constant pool

Callers

nothing calls this directly

Calls 1

addConstantPackageMethod · 0.80

Tested by

no test coverage detected