anchor.diff:                StaticWarningCode.ASSIGNMENT_TO_FINAL_NO_SETTER,
                 highlightedNode,
                 [element.name, element.enclosingElement.displayName]);
  -          return true;
  +          return;
           }
           _errorReporter.reportErrorForNode(StaticWarningCode.ASSIGNMENT_TO_FINAL,
               highlightedNode, [element.name]);
  -        return true;
  -      }
  -      return false;
  -    }
  -    if (element is FunctionElement) {
  +      }
  +    } else if (element is FunctionElement) {
         _errorReporter.reportErrorForNode(
             StaticWarningCode.ASSIGNMENT_TO_FUNCTION, expression);
  -      return true;
  -    }
  -    if (element is MethodElement) {
  +    } else if (element is MethodElement) {
         _errorReporter.reportErrorForNode(
             StaticWarningCode.ASSIGNMENT_TO_METHOD, expression);
  -      return true;
  -    }
  -    if (element is ClassElement ||
  +    } else if (element is ClassElement ||
           element is FunctionTypeAliasElement ||
           element is TypeParameterElement) {
         _errorReporter.reportErrorForNode(
             StaticWarningCode.ASSIGNMENT_TO_TYPE, expression);
  -      return true;
  -    }
  -    return false;
  +    }
     }
   
     /**
  
positive.code:     // class.
      int missingOverridesSize = missingOverrides.length;
      if (missingOverridesSize == 0) {
        return false;
      }
      List<ExecutableElement> missingOverridesArray =
          new List.from(missingOverrides);
  
negative.code:    *
     * See [CompileTimeErrorCode.NON_CONST_MAP_AS_EXPRESSION_STATEMENT].
     */
    void _checkForNonConstMapAsExpressionStatement(MapLiteral literal) {
      // "const"
      if (literal.constKeyword != null) {
        return;
      }
      // has type arguments
      if (literal.typeArguments != null) {
        return;
      }
      // prepare statement
      Statement statement =
          literal.getAncestor((node) => node is ExpressionStatement);
      if (statement == null) {
        return;
      }
      // OK, statement does not start with map
      if (!identical(statement.beginToken, literal.beginToken)) {
        return;
      }
  
      _errorReporter.reportErrorForNode(
          CompileTimeErrorCode.NON_CONST_MAP_AS_EXPRESSION_STATEMENT, literal);
    }
  
    /**
  