anchor.diff:  /// All @Listen annotated methods.
   Map<String, DeclarationMirror> _listenMethodsFor(Type type) {
     return declarationsFor(type, jsProxyReflectable, where: (name, declaration) {
  -    if (!_isRegularMethod(declaration)) return false;
  +    if (!isRegularMethod(declaration)) return false;
       return declaration.metadata.any((d) => d is Listen);
     });
   }
  
positive.code:     property['readOnly'] = true;
    }
    return property;
  }
  
  bool _isRegularMethod(DeclarationMirror declaration) {
    return declaration is MethodMirror && declaration.isRegularMethod;
  }
  
  bool _isSetter(DeclarationMirror declaration) {
    return declaration is MethodMirror && declaration.isSetter;
  }
  
  bool _hasSetter(Type type, String getterName) {
    return jsProxyReflectable.reflectType(type).declarations
        .containsKey('${getterName}=');
  }
  
  /// Given a [Type] return the [JsObject] representation of that type.
  
negative.code: /// [Property].
  Map<String, DeclarationMirror> propertyDeclarationsFor(Type type) {
    return declarationsFor(type, jsProxyReflectable, where: (name, declaration) {
      if (isRegularMethod(declaration) || isSetter(declaration)) return false;
      return declaration.metadata.any((d) => d is Property);
    });
  }
  