#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
pub struct Generator {
pub package: String,
pub with_annotations: bool,
pub library: String,
}
impl Generator {
pub fn jni_pkg(&self) -> String {
self.package.replace('.', "_")
}
pub fn dir_pkg(&self) -> String {
self.package.replace('.', "/")
}
}