Adds a name and type 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 a name. @param descriptor
(final String name, final String descriptor)
| 920 | * @return the index of a new or already existing name and type item. |
| 921 | */ |
| 922 | public int newNameType(final String name, final String descriptor) { |
| 923 | return symbolTable.addConstantNameAndType(name, descriptor); |
| 924 | } |
| 925 | |
| 926 | // ----------------------------------------------------------------------------------------------- |
| 927 | // Default method to compute common super classes when computing stack map frames |
nothing calls this directly
no test coverage detected