code: @Override
      public T deletePackages(boolean recursive, Filter<ArchivePath> filter, Package... packages) throws IllegalArgumentException {
          Validate.notNullAndNoNullValues(packages, "Packages must be specified and cannot contain null values");
          Validate.notNull(filter, "Filter must be specified");
  
          String[] packagesName = new String[packages.length];
  
          for (int i = 0; i < packages.length; i++) {
              // Validation for not-nullity was already done
              packagesName[i] = packages[i].getName();
          }
  
          return deletePackages(recursive, filter, packagesName);
      }
docs: /*
  (non-Javadoc)
  
  @see org.jboss.shrinkwrap.api.container.ClassContainer#deletePackages(boolean, org.jboss.shrinkwrap.api.Filter,
  java.lang.Package[])