Just remove the
word "public", and now the interface cannot be used at all outside the current package. It's a little weird, because the
methods now technically have public access while the
interface does not. But the public access is meaningless here since no one outside the package can make any use of the interface. It's like saying "all the rooms in this buiding are unlocked, but not any of the outside doors." If you can't get in the building, it doesn't matter whether the inner doors are locked or not.