pub trait NameResolver {
// Required methods
fn class(&self, descriptor: &str) -> Option<&str>;
fn field(&self, signature: &str) -> Option<&str>;
fn method(&self, signature: &str) -> Option<&str>;
}Expand description
Resolves the names decompiled source shows, in process (the embedded
decompiler) or behind a protocol (external backends get NameMappings
as JSON). Keys are the names in the DEX (Lz/c;, Lz/c;->a(I)V);
None keeps the name the program has.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".