Reports services registered in plugin.xml that can be converted to light ones.

A service that is not intended for overriding is not required to be registered in the plugin.xml file. Instead, annotate the service class with the @com.intellij.openapi.components.Service annotation. For project-level services, specify @Service(Service.Level.PROJECT).

Requirements:

Also reports services registered in plugin.xml whose classes are already annotated with @Service.

See Services in IntelliJ Platform Plugin SDK docs for more details.

See also the Plugin DevKit | Code | A service can be converted to a light one inspection.

New in 2023.2