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

Method newConstantDynamic

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

Adds a dynamic constant 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 i

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

Source from the content-addressed store, hash-verified

850 * @return the index of a new or already existing dynamic constant reference item.
851 */
852 public int newConstantDynamic(
853 final String name,
854 final String descriptor,
855 final Handle bootstrapMethodHandle,
856 final Object... bootstrapMethodArguments) {
857 return symbolTable.addConstantDynamic(
858 name, descriptor, bootstrapMethodHandle, bootstrapMethodArguments)
859 .index;
860 }
861
862 /**
863 * Adds an invokedynamic reference to the constant pool of the class being build. Does nothing if

Callers

nothing calls this directly

Calls 1

addConstantDynamicMethod · 0.80

Tested by

no test coverage detected