CompatibilityCheck { static boolean isIdeaVersionValid(String majorStr, String minorStr, BuildNumber build) { LOG.warn("IDE version: " + majorStr + "." + minorStr + "; product version " + build.getProductCode() + "-" + build.getBaselineVersion()); if (build.getBaselineVersion() > DEPRECATED_SUPPORT__BASELINE) { return true; } return false; }  static void checkCompatibility(@NotNull Project project, String majorVersion, String minorVersion,
            BuildNumber build);  }
@Test void checkAllOldVersionParsing() { assertTrue(CompatibilityCheck.isIdeaVersionValid("2018", "2", new BuildNumber("CI", 182, 2122))); assertFalse(CompatibilityCheck.isIdeaVersionValid("2017", "3", new BuildNumber("AI", 173, 22331))); assertFalse(CompatibilityCheck.isIdeaVersionValid("2018", "1", new BuildNumber("CI", 181, 22331))); }