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?

1 comment
Comment actions Permalink

That's now in ModuleServiceManager:

public static Foo....ModuleComponent getInstance(Module m) {
return ModuleServiceManager.getService(m, Foo...ModuleComponent.class);
}

0

Please sign in to leave a comment.