You can use the static key-word to expose the nested class to be a top-level class and then refer it with the same path as path of package.