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

Method newField

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

Adds a field 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 th

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

Source from the content-addressed store, hash-verified

891 * @return the index of a new or already existing field reference item.
892 */
893 public int newField(final String owner, final String name, final String descriptor) {
894 return symbolTable.addConstantFieldref(owner, name, descriptor).index;
895 }
896
897 /**
898 * Adds a method reference to the constant pool of the class being build. Does nothing if the

Callers

nothing calls this directly

Calls 1

addConstantFieldrefMethod · 0.80

Tested by

no test coverage detected