mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 20:01:20 +07:00
IDEA-334607 GitOrigin-RevId: b3fcda025cba7de82939b985c0447f2e4f80f862
12 lines
391 B
Java
12 lines
391 B
Java
import com.intellij.openapi.components.Service;
|
|
import com.intellij.openapi.project.Project;
|
|
|
|
@<warning descr="Light service with a constructor that takes a parameter of type 'Project' must specify '@Service(Service.Level.PROJECT)'">Service<caret></warning>({})
|
|
final class MyService {
|
|
private final Project myProject;
|
|
|
|
public MyService(Project project) {
|
|
myProject = project;
|
|
}
|
|
}
|