anchor.diff:    void declaredTopLevelVar(
         VariableDeclarationList varList, VariableDeclaration varDecl) {
       if (optype.includeReturnValueSuggestions) {
  -      bool deprecated = isDeprecated(varList) || isDeprecated(varDecl);
  -      CompletionSuggestion suggestion = _addSuggestion(varDecl.name,
  -          varList.type, deprecated, DART_RELEVANCE_LOCAL_TOP_LEVEL_VARIABLE);
  -      if (suggestion != null) {
  -        suggestion.element = createElement(
  -            protocol.ElementKind.TOP_LEVEL_VARIABLE, varDecl.name,
  -            returnType: varList.type, isDeprecated: deprecated);
  -      }
  +      _addSuggestion(
  +          varDecl.name, varList.type, protocol.ElementKind.TOP_LEVEL_VARIABLE,
  +          isDeprecated: isDeprecated(varList) || isDeprecated(varDecl),
  +          relevance: DART_RELEVANCE_LOCAL_TOP_LEVEL_VARIABLE);
       }
     }
   
  
positive.code:   @override
    void declaredClass(ClassDeclaration declaration) {
      if (optype.includeTypeNameSuggestions) {
        bool deprecated = isDeprecated(declaration);
        CompletionSuggestion suggestion = _addSuggestion(
            declaration.name, NO_RETURN_TYPE, deprecated, DART_RELEVANCE_DEFAULT);
        if (suggestion != null) {
          suggestion.element = createElement(
              protocol.ElementKind.CLASS, declaration.name,
              returnType: NO_RETURN_TYPE,
              isAbstract: declaration.isAbstract,
              isDeprecated: deprecated);
        }
      }
    }
  
    @override
    void declaredClassTypeAlias(ClassTypeAlias declaration) {
      if (optype.includeTypeNameSuggestions) {
        bool deprecated = isDeprecated(declaration);
        CompletionSuggestion suggestion = _addSuggestion(
            declaration.name, NO_RETURN_TYPE, deprecated, DART_RELEVANCE_DEFAULT);
        if (suggestion != null) {
          suggestion.element = createElement(
              protocol.ElementKind.CLASS_TYPE_ALIAS, declaration.name,
              returnType: NO_RETURN_TYPE,
              isAbstract: true,
              isDeprecated: deprecated);
        }
      }
    }
  
    @override
    void declaredEnum(EnumDeclaration declaration) {
      SimpleIdentifier enumId = declaration.name;
      if (enumId != null) {
        bool deprecated = isDeprecated(declaration);
        if (optype.includeTypeNameSuggestions) {
          CompletionSuggestion suggestion = _addSuggestion(
              enumId, NO_RETURN_TYPE, deprecated, DART_RELEVANCE_DEFAULT);
          if (suggestion != null) {
            suggestion.element = createElement(protocol.ElementKind.ENUM, enumId,
                returnType: NO_RETURN_TYPE, isDeprecated: deprecated);
          }
        }
      }
    }
  
  
negative.code:   void declaredMethod(MethodDeclaration declaration) {
      if (optype.includeReturnValueSuggestions ||
          optype.includeVoidReturnSuggestions) {
        protocol.ElementKind elemKind;
        FormalParameterList param;
        TypeName typeName = declaration.returnType;
        int relevance = DART_RELEVANCE_DEFAULT;
        if (declaration.isGetter) {
          elemKind = protocol.ElementKind.GETTER;
          param = null;
          relevance = DART_RELEVANCE_LOCAL_ACCESSOR;
        } else if (declaration.isSetter) {
          if (!optype.includeVoidReturnSuggestions) {
            return;
          }
          elemKind = protocol.ElementKind.SETTER;
          typeName = NO_RETURN_TYPE;
          relevance = DART_RELEVANCE_LOCAL_ACCESSOR;
        } else {
          if (!optype.includeVoidReturnSuggestions && _isVoid(typeName)) {
            return;
          }
          elemKind = protocol.ElementKind.METHOD;
          param = declaration.parameters;
          relevance = DART_RELEVANCE_LOCAL_METHOD;
        }
        _addSuggestion(declaration.name, typeName, elemKind,
            isAbstract: declaration.isAbstract,
            isDeprecated: isDeprecated(declaration),
            classDecl: declaration.parent,
            param: param,
            relevance: relevance);
      }
    }
  
    @override
    void declaredParam(SimpleIdentifier id, TypeName typeName) {
      if (optype.includeReturnValueSuggestions) {
        _addSuggestion(id, typeName, protocol.ElementKind.PARAMETER,
            relevance: DART_RELEVANCE_PARAMETER);
      }
    }
  
  