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
@since
tag in the documentation.
Use the Forbid API usages option to forbid usages of the API in respect to the project or custom language level.