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

Method newInvokeDynamic

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

Adds an invokedynamic 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 name name of the inv

(
      final String name,
      final String descriptor,
      final Handle bootstrapMethodHandle,
      final Object... bootstrapMethodArguments)

Source from the content-addressed store, hash-verified

871 * @return the index of a new or already existing invokedynamic reference item.
872 */
873 public int newInvokeDynamic(
874 final String name,
875 final String descriptor,
876 final Handle bootstrapMethodHandle,
877 final Object... bootstrapMethodArguments) {
878 return symbolTable.addConstantInvokeDynamic(
879 name, descriptor, bootstrapMethodHandle, bootstrapMethodArguments)
880 .index;
881 }
882
883 /**
884 * Adds a field reference to the constant pool of the class being build. Does nothing if the

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected