jvmti/
method.rs

1use super::native::JavaMethod;
2
3pub struct MethodId {
4    pub native_id: JavaMethod
5}
6
7pub struct Method {
8    pub id: MethodId
9}
10
11pub struct MethodSignature {
12    pub name: String
13}
14
15impl MethodSignature {
16
17    pub fn new(raw_signature: String) -> MethodSignature {
18        MethodSignature { name: raw_signature }
19    }
20
21    pub fn unknown() -> MethodSignature {
22        MethodSignature { name: "<UNKNOWN METHOD>".to_string() }
23    }
24}