void (@NotNull GrReferenceExpression referenceExpression) { accessibilityChecker.visitReferenceExpression(referenceExpression); PsiElement resolved = referenceExpression.resolve(); if (resolved == null) { myCallback.trigger(referenceExpression, null); } else if (referenceExpression.getType() == null) { if (!(resolved instanceof GrMethod) || !((GrMethod)resolved).isConstructor()) myCallback.trigger(referenceExpression, null); } super.visitReferenceExpression(referenceExpression); }