@Override
    public void visitReferenceElement(@NotNull PsiJavaCodeReferenceElement reference) {
      final String word = reference.getReferenceName();
      final PsiElement target = reference.resolve();
      if (target == null && Strings.isCapitalized(word)) {
        return;
      }
      if (handleWord(word, CODE, myCompilingVisitor.getContext())) {
        if (!isStaticAccessibleFromSubclass(target) && (!reference.isQualified() || !isClassFromJavaLangPackage(target))) {
          super.visitReferenceElement(reference);
        }
      }
    }
@Override
    public void visitReferenceElement(@NotNull PsiJavaCodeReferenceElement reference)