mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Traverser detection
This commit is contained in:
@@ -76,6 +76,10 @@ public class Main {
|
||||
(firstArg.length() < 20 && firstArg.endsWith("inspect"));
|
||||
}
|
||||
|
||||
public static boolean isUITraverser(final String[] args) {
|
||||
return args.length > 0 && Comparing.strEqual(args[0], "traverseUI");
|
||||
}
|
||||
|
||||
public static boolean isCommandLine(final String[] args) {
|
||||
if (isHeadless(args)) return true;
|
||||
@NonNls final String diffAppCode = "diff";
|
||||
|
||||
Reference in New Issue
Block a user