I have two packages in my project: odp.proj and odp.proj.test. There are certain methods that I want to be visible only to the classes in these two
odp.proj
odp.proj.test
You can't. In Java there is no concept of a subpackage, so odp.proj and odp.proj.test are completely separate packages.