mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
13 lines
422 B
Java
13 lines
422 B
Java
package serviceDeclarations;
|
|
|
|
import com.intellij.openapi.application.ApplicationManager;
|
|
import com.intellij.openapi.components.Service;
|
|
|
|
// Application Service by annotation
|
|
@Service(Service.Level.APP)
|
|
public final class LightServiceAppLevelAnnotation {
|
|
public static LightServiceAppLevelAnnotation getInstance() {
|
|
return ApplicationManager.getApplication().getService(LightServiceAppLevelAnnotation.class);
|
|
}
|
|
}
|