private boolean ignoreScan(String intf)
   {
   	  if (scanPackages != null)
   	  {
	      for (String scan : scanPackages)
	      {
	      	 // do not ignore if on packages to scan list
	         if (intf.startsWith(scan + "."))
	         {
	            return false;
	         }
	      }
          return true; // didn't match whitelist, ignore
   	  }
      for (String ignored : ignoredPackages)
      {
         if (intf.startsWith(ignored + "."))
         {
            return true;
         }
         else
         {
            //System.out.println("NOT IGNORING: " + intf);
         }
      }
      return false;
   }