Idea8: getInstance() for ModuleComponent, huh?
Sorry if the question is unclear...
In my plugin i have static method:
public static Foo....ModuleComponent getInstance(Module m) {
return ServiceManager.getService(m, Foo...ModuleComponent.class);
}
Now, getService takes Project as first argument, not Module. Should getInstance() change to Project argument as well?
请先登录再写评论。
That's now in ModuleServiceManager:
public static Foo....ModuleComponent getInstance(Module m) {
return ModuleServiceManager.getService(m, Foo...ModuleComponent.class);
}