@Override
        public void visitTypeCastExpression(@NotNull PsiTypeCastExpression expression) {
          PsiTypeElement castType = expression.getCastType();
          if (castType == null) return;
          if (!castType.textMatches(originalTypeElement)) {
            return;
          }
          InstanceOfCandidateResult result = findInstanceOfCandidateResult(expression);
          if (result != null && result.instanceOf == instanceOf) {
            myCasts.add(expression);
          }
        }
@Override
        public void visitTypeCastExpression(@NotNull PsiTypeCastExpression expression)