Adds a method 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 t
(
final String owner, final String name, final String descriptor, final boolean isInterface)
| 906 | * @return the index of a new or already existing method reference item. |
| 907 | */ |
| 908 | public int newMethod( |
| 909 | final String owner, final String name, final String descriptor, final boolean isInterface) { |
| 910 | return symbolTable.addConstantMethodref(owner, name, descriptor, isInterface).index; |
| 911 | } |
| 912 | |
| 913 | /** |
| 914 | * Adds a name and type to the constant pool of the class being build. Does nothing if the |
nothing calls this directly
no test coverage detected