(&mut self, value: S)
| 173 | self.add(Constant::Class(name_index)) |
| 174 | } |
| 175 | |
| 176 | pub(super) fn add_string<S: AsRef<str>>(&mut self, value: S) -> jvm::Result<u16> { |
| 177 | let string_index = self.add_utf8(value)?; |
| 178 | self.add(Constant::String(string_index)) |
| 179 | } |
| 180 | |
| 181 | pub(super) fn add_field_ref<N: AsRef<str>, D: AsRef<str>>( |
no test coverage detected