IDE-1527 Add empty java package check

You can use the method ``` ! CoreUtil.isNullOrEmpty( javaPackage ) ```