package pkg; class Outer { private class Inner{ private void myMethod(){ } } }