anchor.diff:          query: query,
           viewQuery: viewQuery);
     }).toList();
  +}
  +
  +final Logger _deprecationLogger = new Logger('angular2.transformer');
  +void _reportDeprecation(
  +    ClassDeclaration classDecl, CompileQueryMetadata query) {
  +  String source = classDecl == null
  +      ? '${query?.propertyName}'
  +      : 'in class ${classDecl.name.name}';
  +  _deprecationLogger.warning('Queries inside constructors are deprecated, '
  +      'please replace with query annotations on fields $source');
   }
   
   Annotation _getAnnotation(p, String attrName) =>
  
positive.code:       final fieldTypes = _readFields(node);
        diDeps = constructor == null
            ? []
            : _getCompileDiDependencyMetadata(constructor.parameters, fieldTypes);
        _type = new CompileTypeMetadata(
            moduleUrl: toAssetUri(_assetId),
            name: node.name.toString(),
  
negative.code: import 'package:angular2/src/transform/common/interface_matcher.dart';
  import 'package:angular2/src/transform/common/logging.dart';
  import 'package:barback/barback.dart' show AssetId;
  import 'package:logging/logging.dart';
  
  import 'naive_eval.dart';
  import 'url_resolver.dart';
  