Or protected. The code posted uses the default package private, which prevents access between packages. See Controlling Access