mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 08:09:39 +07:00
[devkit] IDEA-298703 filter out explict constructor calls
GitOrigin-RevId: d6013518960b878dd13fe6d959e08f3460c2e818
This commit is contained in:
committed by
intellij-monorepo-bot
parent
442a7f11a2
commit
271c7f2045
@@ -0,0 +1,10 @@
|
||||
import serviceDeclarations.RegisteredApplicationService;
|
||||
|
||||
class MyClass {
|
||||
// explicit constructor call
|
||||
static final RegisteredApplicationService myAppService1 = new RegisteredApplicationService();
|
||||
|
||||
// constructor call in a chain
|
||||
static final <warning descr="Application service must not be assigned to a static final field">RegisteredApplicationService</warning> myAppService2 = new RegisteredApplicationService().getInstance();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user