When using namespace (fully qualified name) for inner classes, is it possible to remove parent class name prefix?

0 votes
asked Feb 20, 2020 in Question / help by Kate


I was wondering if there is a way to handle using namespaces for  inner classes but to disable the parent class name appearing before the inner class name? 

I know we could stop using the fully qualified name and instead use the outer class' package as our namespace, but this will cause an issue if we have multiple inner classes in the same package /w the same name. 

I have coded an example here:


In this example, is it possible to continue using these namespaces but to disable the outer class names prefixed to the inner classes? Let me know if you need any more info!

Kind Regards,


1 Answer

+1 vote
answered Feb 20, 2020 by plantuml (294,660 points)
commented Feb 20, 2020 by Kate
Thank you, this works perfectly!