@Override
    public void visitMethodCallExpression(@NotNull PsiMethodCallExpression call) {
      if (OBJECT_GET_CLASS.test(call)) {
        PsiExpression qualifier = ExpressionUtils.getEffectiveQualifier(call.getMethodExpression());
        if (qualifier != null && StreamEx.of(ExpressionUtils.nonStructuralChildren(qualifier)).select(PsiThisExpression.class)
                .anyMatch(thisExpression -> thisExpression.getQualifier() == null)) {
          PsiExpression compared = ExpressionUtils.getExpressionComparedTo(call);
          if (compared instanceof PsiClassObjectAccessExpression) {
            registerError(qualifier.isPhysical() ? qualifier : call, call);
          }
        }
      }
    }
@Override
    public void visitMethodCallExpression(@NotNull PsiMethodCallExpression call)