It was only a matter of time before Greenpoint became a magnet for restaurants.

With the L train shutting down next spring for 15 months of repairs, next-door Williamsburg is already losing its appeal as a dining hub. That may allow Greenpoint to emerge as a less expensive alternative for restaurateurs and diners, but one that offers similar amenities: proximity to Manhattan, waterfront views and plenty of new stores and apartments.

Once largely industrial and still known for its Polish immigrant population, Greenpoint this year has had several openings, including Di An Di, a stylish pho spot; Oxomoco, an airy Mexican restaurant with wood-fired grills; Annicka, a cafe and bar specializing in New York-made beer, wine, cider and spirits; and Bernie’s, a faux-retro diner.