docs: public Statement transform(TryCatchStatement tryCatchStatement) {
          if (!asBoolean(tryCatchStatement.getResourceStatements())) {
              return tryCatchStatement;
          }
  
          if (this.isBasicTryWithResourcesStatement(tryCatchStatement)) {
              return this.transformBasicTryWithResourcesStatement(tryCatchStatement);
          } else {
              return this.transformExtendedTryWithResourcesStatement(tryCatchStatement);
          }
      }