text: import { OnInit, OnDestroy, DoCheck, OnChanges, AfterContentInit, AfterContentChecked, AfterViewInit, AfterViewChecked } from '@angular/core';
  import { reflector, LifecycleHooks } from '../core_private';
  import { MapWrapper } from '../src/facade/collection';
  const LIFECYCLE_INTERFACES = MapWrapper.createFromPairs([
      [LifecycleHooks.OnInit, OnInit],
      [LifecycleHooks.OnDestroy, OnDestroy],
      [LifecycleHooks.DoCheck, DoCheck],
      [LifecycleHooks.OnChanges, OnChanges],
      [LifecycleHooks.AfterContentInit, AfterContentInit],
      [LifecycleHooks.AfterContentChecked, AfterContentChecked],
      [LifecycleHooks.AfterViewInit, AfterViewInit],
      [LifecycleHooks.AfterViewChecked, AfterViewChecked],
  ]);
  const LIFECYCLE_PROPS = MapWrapper.createFromPairs([
      [LifecycleHooks.OnInit, 'ngOnInit'],
      [LifecycleHooks.OnDestroy, 'ngOnDestroy'],
      [LifecycleHooks.DoCheck, 'ngDoCheck'],
      [LifecycleHooks.OnChanges, 'ngOnChanges'],
      [LifecycleHooks.AfterContentInit, 'ngAfterContentInit'],
      [LifecycleHooks.AfterContentChecked, 'ngAfterContentChecked'],
      [LifecycleHooks.AfterViewInit, 'ngAfterViewInit'],
      [LifecycleHooks.AfterViewChecked, 'ngAfterViewChecked'],
  ]);
  export function hasLifecycleHook(hook, token /** TODO #9100 */) {
      var lcInterface = LIFECYCLE_INTERFACES.get(hook);
      var lcProp = LIFECYCLE_PROPS.get(hook);
      return reflector.hasLifecycleHook(token, lcInterface, lcProp);
  }
  //# sourceMappingURL=directive_lifecycle_reflector.js.map