docs: protected ClassNode findCurrentInstanceOfClass(final Expression expr, final ClassNode type) {
          if (!typeCheckingContext.temporaryIfBranchTypeInformation.empty()) {
              List<ClassNode> nodes = getTemporaryTypesForExpression(expr);
              if (nodes != null && nodes.size() == 1) return nodes.get(0);
          }
          return type;
      }