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

Method newMethod

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

Adds a method 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 owner the internal name of t

(
      final String owner, final String name, final String descriptor, final boolean isInterface)

Source from the content-addressed store, hash-verified

906 * @return the index of a new or already existing method reference item.
907 */
908 public int newMethod(
909 final String owner, final String name, final String descriptor, final boolean isInterface) {
910 return symbolTable.addConstantMethodref(owner, name, descriptor, isInterface).index;
911 }
912
913 /**
914 * Adds a name and type to the constant pool of the class being build. Does nothing if the

Callers

nothing calls this directly

Calls 1

addConstantMethodrefMethod · 0.80

Tested by

no test coverage detected