Can I create a nested class on a class I dont have...
# announcements
u
Can I create a nested class on a class I dont have access to? Something like
Copy code
enum class Parent.Child {
    BAR, QUAX
}
where Parent is generated, so I cannot put the Child there directly
b
Don't think so. Why would you need it? Namespacing?
u
yes
l
@elizarov That's an interesting use case for the
namespace
idea you showed in your recent talk. I think I came across such use cases in the past.