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

Method newMethodType

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

Adds a method type 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 methodDescriptor method

(final String methodDescriptor)

Source from the content-addressed store, hash-verified

765 * @return the index of a new or already existing method type reference item.
766 */
767 public int newMethodType(final String methodDescriptor) {
768 return symbolTable.addConstantMethodType(methodDescriptor).index;
769 }
770
771 /**
772 * Adds a module reference to the constant pool of the class being build. Does nothing if the

Callers

nothing calls this directly

Calls 1

addConstantMethodTypeMethod · 0.80

Tested by

no test coverage detected