Personally i always include the main class as a prefix to the collaborators.
I do too, but I'm not sure why...
--
---
You received this message because you are subscribed to the Google Groups "illegalargument" group.
To unsubscribe from this group and stop receiving emails from it, send an email to illegalargume...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Well if you extract Something.Builder into its own file, your naming is now broken.
Surely then, and only then would you consider renaming the class to better suit it's new location.
You're going to be modifying every class that used the builder anyway so renaming at the same time isn't going to hurt.
Of course, you could have a static .builder() method on the root class to access the builder regardless of where it is and not break import statements but that's another topic..
Sent from an Android...
Well if you extract Something.Builder into its own file, your naming is now broken.
--