I am developing a library which is consumed by other teams, in the library there are some classes/methods which are public but i don't want others to use them.
Some thing like what sun.misc package is in java, in this though all the classes are public the compiler throws "restriction error" while using it.