docs: public boolean shouldScanPackage(String pkg)
      {
          // assume an empty string if it wasn't specified
          if (pkg == null)
          {
              pkg = "";
          }
          WindupJavaConfigurationModel configuration = getJavaConfigurationModel(getGraphContext());
          for (PackageModel pkgModel : configuration.getExcludeJavaPackages())
          {
              String excludePkg = pkgModel.getPackageName();
              if (pkg.startsWith(excludePkg))
              {
                  return false;
              }
          }
  
          // if the list is empty, assume it is intended to just accept all packages
          if (!configuration.getScanJavaPackages().iterator().hasNext())
          {
              return true;
          }
  
          for (PackageModel pkgModel : configuration.getScanJavaPackages())
          {
              String includePkg = pkgModel.getPackageName();
              if (pkg.startsWith(includePkg))
              {
                  return true;
              }
          }
  
          return false;
      }