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)
| 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 |
nothing calls this directly
no test coverage detected