Replace OBJECT$ usages in code and test data

This commit is contained in:
Pavel V. Talanov
2015-03-25 15:49:16 +03:00
parent ed218c473a
commit 9d618ca767
13 changed files with 31 additions and 31 deletions
@@ -34,7 +34,7 @@ class TypeKindHighlightingVisitor extends AfterAnalysisHighlightingVisitor {
public void visitSimpleNameExpression(@NotNull JetSimpleNameExpression expression) {
PsiReference ref = expression.getReference();
if (ref == null) return;
if (JetPsiChecker.OBJECT$.getNamesHighlightingEnabled()) {
if (JetPsiChecker.Companion.getNamesHighlightingEnabled()) {
DeclarationDescriptor referenceTarget = bindingContext.get(BindingContext.REFERENCE_TARGET, expression);
if (referenceTarget instanceof ConstructorDescriptor) {
referenceTarget = referenceTarget.getContainingDeclaration();