code: public static boolean isDomainClass(URL url) {
          if (url == null) return false;
          return KNOWN_DOMAIN_CLASSES.get(url.getFile());
      }
docs: Checks whether the file referenced by the given url is a domain class
  
  @param url The URL instance
  @return true if it is a domain class