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

Method addConstantMethodref

src/jvm/clojure/asm/SymbolTable.java:553–557  ·  view source on GitHub ↗

Adds a CONSTANT_Methodref_info or CONSTANT_InterfaceMethodref_info to the constant pool of this symbol table. Does nothing if the constant pool already contains a similar item. @param owner the internal name of a class. @param name a method name. @param descriptor a method descriptor. @param isInte

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

Source from the content-addressed store, hash-verified

551 * @return a new or already existing Symbol with the given value.
552 */
553 Symbol addConstantMethodref(
554 final String owner, final String name, final String descriptor, final boolean isInterface) {
555 int tag = isInterface ? Symbol.CONSTANT_INTERFACE_METHODREF_TAG : Symbol.CONSTANT_METHODREF_TAG;
556 return addConstantMemberReference(tag, owner, name, descriptor);
557 }
558
559 /**
560 * Adds a CONSTANT_Fieldref_info, CONSTANT_Methodref_info or CONSTANT_InterfaceMethodref_info to

Callers 3

visitMethodInsnMethod · 0.80
newMethodMethod · 0.80

Calls 1

Tested by

no test coverage detected