mod attribute;
mod class;
mod constant_pool;
mod field;
mod flags;
mod instruction;
mod method;
fn fmt_class_name(name: &str) -> String {
name.trim_start_matches('L')
.trim_end_matches(';')
.replace('/', ".")
}
fn fmt_method_name(name: &str) -> String {
match name {
"<init>" => format!("\"{}\"", name),
_ => name.to_string(),
}
}