Usage of API documented as @since 1.6+ 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
File ->Project Structure->Project Settings -> Modules -> 你的Module名字 -> Sources -> Language Level->
选择和 project 目录下 project language level 相同的level即可