void (IdeaVersion ideaVersion, DomElementAnnotationHolder holder) { String untilBuild = ideaVersion.getUntilBuild().getStringValue(); if (untilBuild != null && isStarSupported(ideaVersion.getSinceBuild().getStringValue())) { Matcher matcher = PluginManager.EXPLICIT_BIG_NUMBER_PATTERN.matcher(untilBuild); if (matcher.matches()) { holder.createProblem( ideaVersion.getUntilBuild(), DevKitBundle.message("inspections.plugin.xml.until.build.use.asterisk.instead.of.big.number", matcher.group(2)), new CorrectUntilBuildAttributeFix(PluginManager.convertExplicitBigNumberInUntilBuildToStar(untilBuild))); } if (untilBuild.matches("\\d+")) { int branch = Integer.parseInt(untilBuild); String corrected = (branch - 1) + ".*"; holder.createProblem(ideaVersion.getUntilBuild(), DevKitBundle.message("inspections.plugin.xml.until.build.misleading.plain.number", untilBuild, corrected), new CorrectUntilBuildAttributeFix(corrected)); } } }