Usages of API which isn't available at the configured language level
Reports usages of the API that is unavailable at the configured language level. This inspection does 3 things:
Highlight usage of generified classes when the language level is below Java 7.
Highlight when default methods are not overridden and the language level is below Java 8.
Highlight usage of API when the language level is lower than marked using the
@sincetag in the documentation.
Use the Forbid API usages option to forbid usages of the API in respect to the project or custom language level.
Forbid usages of API newer than
(according to project settings)
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3