anchor.diff:      return _createRoute(pattern).handler;
     }
   
  -  _ResourceRoute _createRoute(String pattern) {
  +  ResourceRoute _createRoute(String pattern) {
       if (basePath != null) {
         pattern = basePath + pattern;
       }
  
positive.code:   }
  }
  
  class _ResourceRoute {
    final ResourcePattern pattern;
    final RequestHandler handler;
  
    _ResourceRoute(this.pattern, this.handler);
  }
  
  class _RouterException implements Exception {
    final String message;
    _RouterException(this.message);
  }
  
negative.code:   List<APIDocumentItem> document(PackagePathResolver resolver) {
      List<APIDocumentItem> items = [];
  
      for (var route in routes) {
        var routeItems = route.handler.document(resolver);
  
        items.addAll(routeItems.map((i) {
  