如何在 intelliJ IDEA 中使用 Opencsv 注释?

How to utilise Opencsv annotations within intelliJ IDEA?

我正在尝试使用 Opencsv 的 annotation functionality 但无法正常工作。

我根据 this link (import au.com.bytecode.opencsv.CSVReader; is at the top of my code) and still after selecting the 'annotations' checkbox in the IntelliJ import dialogue 添加了导入,但未找到注释。再次检查模块后,注释复选框仍为空。

如有任何帮助,我将不胜感激。

确保使用正确的依赖项:com.opencsv:opencsv:5.0