Java supports public and package-private access modifier on the class level (Controlling Access to Members of a Class). What access modifier does Scala support for classes/objects access control?
The only documentation I can find mentions method level access control exclusively, any documentation that mentions class/object access control would be very helpful.
private class Foo private(val bazz : Int). It would mean private to enclosing object classFoowith private constructor