解决 Usage of API documented as @since 1.8+

报错截图
解决 Usage of API documented as @since 1.8+_第1张图片
报错信息
Usage of API documented as @since 1.8+
This inspection finds all usages of methods that have @since tag in their documentation.
This may be useful when development is performed under newer SDK version as the target platform for production.

解决办法:
ctrl + shift + alt + s 快捷键打开
解决 Usage of API documented as @since 1.8+_第2张图片
修改 【Modules】下的【Language Level】 为 【8】;如下图:
解决 Usage of API documented as @since 1.8+_第3张图片
即可解决此问题;

你可能感兴趣的:(idea)