void setValidityCheck(PassFactory validityCheck) {
    this.validityCheck = validityCheck;
    this.changeVerifier = new ChangeVerifier(compiler).snapshot(jsRoot);
  }
void setValidityCheck ( PassFactory validityCheck ) { this . validityCheck = validityCheck ; this . changeVerifier = new ChangeVerifier ( compiler ) . snapshot ( jsRoot ) ; }
Adds a checker to be run after every pass. Intended for development.