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