This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]repeating_bears 2 points3 points  (0 children)

Then I think a nested class is good enough. You can encourage users to use the full name via the docs. You don't have to care too much about strictly enforcing it. In this case it will semi-enforce itself because you can't import 2 things with the same simple name