(
&mut self,
bootstrap_method_attr_index: u16,
name: N,
descriptor: D,
)
| 249 | #[allow(dead_code)] |
| 250 | pub(super) fn add_dynamic<N: AsRef<str>, D: AsRef<str>>( |
| 251 | &mut self, |
| 252 | bootstrap_method_attr_index: u16, |
| 253 | name: N, |
| 254 | descriptor: D, |
| 255 | ) -> jvm::Result<u16> { |
| 256 | let name_and_type_index = self.add_name_and_type(name, descriptor)?; |
| 257 | self.add(Constant::Dynamic { |
| 258 | bootstrap_method_attr_index, |
| 259 | name_and_type_index, |
| 260 | }) |
| 261 | } |
| 262 | |
| 263 | pub(super) fn add_invoke_dynamic<N: AsRef<str>, D: AsRef<str>>( |
| 264 | &mut self, |
| 265 | bootstrap_method_attr_index: u16, |
nothing calls this directly
no test coverage detected