import com.intellij.openapi.components.Service; @Service interface MyService { }