Mismatch between light service level and its constructor
Reports mismatches between light service levels and constructors.
The following problems are reported:
A light service class has a constructor with one parameter of type
com.intellij.openapi.project.Project
is not annotated as project-level service.A light service class annotated as an application-level service does not have a no-arg constructor, nor a constructor with one parameter of type
kotlinx.coroutines.CoroutineScope
.
New in 2023.2
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Plugin DevKit, 233.SNAPSHOT |
Last modified: 13 July 2023