Incorrect or simplifiable retrieving service
Reports the following problems when retrieving services:
Attempts to retrieve an unregistered service
Mismatch when retrieving a service: attempting to get a project-level service as an application-level service, or vice versa.
Getting service call can be replaced with a call to an existing static
getInstance()
orgetInstance(Project)
method.
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