anchor.diff:          !node.isOperator &&
           !node.hasInheritedMethod &&
           !_isOverridingMember(declaredElement)) {
  -      var parametersToLint =
  -          node.parameters?.parameters.where(_isFormalParameterToLint);
  -      if (parametersToLint != null && parametersToLint.isNotEmpty) {
  -        rule.reportLint(parametersToLint.first);
  -      }
  +      checkParams(node.parameters?.parameters);
       }
  -  }
  -
  -  bool _isFormalParameterToLint(FormalParameter node) {
  -    var type = node.declaredElement?.type;
  -    return !node.isNamed && type is InterfaceType && type.isDartCoreBool;
     }
   
     bool _isOverridingMember(Element member) {
       var classElement = member.thisOrAncestorOfType<ClassElement>();
  -    if (classElement == null) {
  -      return false;
  -    }
  +    if (classElement == null) return false;
  +
       var name = member.name;
  -    if (name == null) {
  -      return false;
  -    }
  +    if (name == null) return false;
  +
       var libraryUri = classElement.library.source.uri;
       return context.inheritanceManager
               .getInherited(classElement.thisType, Name(libraryUri, name)) !=
           null;
     }
  +
  +  static bool _isBoolean(FormalParameter node) {
  +    var type = node.declaredElement?.type;
  +    return !node.isNamed && type is InterfaceType && type.isDartCoreBool;
  +  }
   }
  
positive.code: 
    _Visitor(this.rule, this.context);
  
    @override
    void visitConstructorDeclaration(ConstructorDeclaration node) {
      var declaredElement = node.declaredElement;
      if (declaredElement != null && !declaredElement.isPrivate) {
        var parametersToLint =
            node.parameters.parameters.where(_isFormalParameterToLint);
        if (parametersToLint.isNotEmpty) {
          rule.reportLint(parametersToLint.first);
        }
      }
    }
  
  
negative.code:   void visitFunctionDeclaration(FunctionDeclaration node) {
      var declaredElement = node.declaredElement;
      if (declaredElement != null && !declaredElement.isPrivate) {
        checkParams(node.functionExpression.parameters?.parameters);
      }
    }
  
  