That would be a simple fix to be honest - and one that Java 8 could make without backward compatibility issues. Simply allow the hierarchy to be short cutted if a directory contains the a dot separated name
e.g instead of com/foobar/bar/module/a/b allow com.foobar.bar.module/a/b
e.g instead of com/foobar/bar/module/a/b allow com.foobar.bar.module/a/b