mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-31 04:07:30 +07:00
IJ-CR-105402 GitOrigin-RevId: cc3e83f7e6e6f93f663c43aea66a3680e8c264b4
10 lines
216 B
Java
10 lines
216 B
Java
package com.example.demo;
|
|
|
|
import com.intellij.openapi.application.ApplicationManager;
|
|
|
|
final class MyService {
|
|
public void foo() {
|
|
if (ApplicationManager.getApplication().isHeadlessEnvironment()) {
|
|
}
|
|
}
|
|
} |