jvmti_rs/wrapper/metadata/
jfield_name.rs

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