Adds a number or string constant 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 value the value of
(final Object value)
| 729 | * @return the index of a new or already existing constant item with the given value. |
| 730 | */ |
| 731 | public int newConst(final Object value) { |
| 732 | return symbolTable.addConstant(value).index; |
| 733 | } |
| 734 | |
| 735 | /** |
| 736 | * Adds an UTF8 string to the constant pool of the class being build. Does nothing if the constant |
nothing calls this directly
no test coverage detected