private void setPackagePath ( Dependency dep ) { final File file = new File ( dep . getFilePath ( ) ) ; final String parent = file . getParent ( ) ; if ( parent != null ) { dep . setPackagePath ( parent ) ; } }
Sets the package path on the given dependency .