BuildNumber () { BuildNumber compatibleBuild = BuildNumber.fromPluginCompatibleBuild(); if (LOG.isDebugEnabled()) { LOG.debug("getPluginsCompatibleBuildAsNumber: compatibleBuild=" + (compatibleBuild == null ? "null" : compatibleBuild.asString())); } BuildNumber version = compatibleBuild == null ? getApiVersionAsNumber() : compatibleBuild; if (LOG.isDebugEnabled()) { LOG.debug("getPluginsCompatibleBuildAsNumber: version=" + version.asString()); } BuildNumber buildNumber = BuildNumber.fromStringWithProductCode(version.asString(), getBuild().getProductCode()); return Objects.requireNonNull(buildNumber); }