boolean (String[] args, PrintStream printStream) { for (String arg : args) { if (arg.startsWith(IDE_VERSION)) { int ideVersion = Integer.parseInt(arg.substring(IDE_VERSION.length())); if (ideVersion != VERSION) { printStream.println("Wrong agent version: " + VERSION + ". IDE expects version: " + ideVersion); printStream.flush(); return false; } return true; } } return false; }