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

Method newNameType

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

Adds a name and type 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 name a name. @param descriptor

(final String name, final String descriptor)

Source from the content-addressed store, hash-verified

920 * @return the index of a new or already existing name and type item.
921 */
922 public int newNameType(final String name, final String descriptor) {
923 return symbolTable.addConstantNameAndType(name, descriptor);
924 }
925
926 // -----------------------------------------------------------------------------------------------
927 // Default method to compute common super classes when computing stack map frames

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected