@Override
  public TextAttributesKey getTextAttributesKey() {
    try {
      return isDeprecated() ? CodeInsightColors.DEPRECATED_ATTRIBUTES : null;
    }
    catch (IndexNotReadyException ignore) {
      return null; // do not show deprecated elements during indexing
    }
  }
@Override
  public TextAttributesKey getTextAttributesKey()