jvmti_rs/wrapper/metadata/
jmethod_name.rs

1use crate::objects::JvmtiString;
2use crate::JSignature;
3
4#[derive(Clone, Debug)]
5pub struct JMethodName<'a> {
6    pub name: String,
7    pub signature: JSignature<'a>,
8}
9
10impl<'a> JMethodName<'a> {
11    pub fn new(name: JvmtiString, signature: JSignature<'a>) -> JMethodName<'a> {
12        JMethodName {
13            name: name.into(),
14            signature,
15        }
16    }
17}