
{{original_tokens}}

#[cfg(feature = "parser")]
impl pax_compiler_api::PathQualifiable for {{pascal_identifier}} {
    fn get_fully_qualified_path(atomic_self_type: &str) -> String {
        //this type may come in qualified, e.g. with `crate::some::mod::some::Type`
        //in this case, we want only `Type`.  This is a crude heuristic and may need to be revisited.
        let chopped_type = {
            if atomic_self_type.contains("::") {
                atomic_self_type.split("::").last().unwrap()
            } else {
                atomic_self_type
            }
        };
        module_path!().to_owned() + "::" + chopped_type
    }
}