@Override
  @SuppressWarnings("UnresolvedPropertyKey")
  public @NotNull String getUnresolvedMessagePattern() {
    final PsiReference reference = chooseReference();

    return reference instanceof EmptyResolveMessageProvider ?
           ((EmptyResolveMessageProvider)reference).getUnresolvedMessagePattern() :
           AnalysisBundle.message("cannot.resolve.symbol");
  }
@Override
  @SuppressWarnings("UnresolvedPropertyKey")
  public @NotNull String getUnresolvedMessagePattern()