I'm working with a domain, view and controllers. Each containing their own classes.
The domain contains a lot of classes that should not be instantiated in classes outside of the domain. I was under the impression the default access modifier was going to help me. Making my domain classes their constructors package visible.
Turns out any class can still use the constructors after importing the right package.class file.
How can I prevent this from happening?