1 2 3 4 5 6 7 8 9 10 11 12 13 14
use std::sync::Arc; pub type ConstStr = &'static str; pub type StrRef = Arc<str>; /// e.g.: java/lang/Class pub type InternalNameRef = StrRef; /// e.g.: java.lang.Class pub type QualifiedNameRef = StrRef; /// e.g.: Ljava/lang/Class; pub type DescriptorRef = StrRef;