test_class.declarator: BYTEBUDDY_GROUP = "net.bytebuddy"
test_class.modifier: private static final
test_class.original_string: private static final String BYTEBUDDY_GROUP = "net.bytebuddy";
test_class.type: String
test_class.var_name: BYTEBUDDY_GROUP
test_class.declarator: VERSION_PATTERN = "\\d\\.\\d+\\.\\d+"
test_class.modifier: private static final
test_class.original_string: private static final String VERSION_PATTERN = "\\d\\.\\d+\\.\\d+";
test_class.type: String
test_class.var_name: VERSION_PATTERN
test_class.file: stagemonitor-core/src/test/java/org/stagemonitor/core/util/VersionUtilsTest.java
test_class.identifier: VersionUtilsTest
test_case.body: @Test
  	public void getVersionFromPomProperties() throws Exception {
  		assertThat(VersionUtils.getVersionFromPomProperties(ByteBuddy.class, BYTEBUDDY_GROUP, "byte-buddy")).matches(VERSION_PATTERN);
  	}
test_case.class_method_signature: VersionUtilsTest.getVersionFromPomProperties()
test_case.full_signature: @Test public void getVersionFromPomProperties()
test_case.identifier: getVersionFromPomProperties
test_case.invocations: matches assertThat getVersionFromPomProperties
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getVersionFromPomProperties()
focal_class.declarator: logger = LoggerFactory.getLogger(VersionUtils.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(VersionUtils.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.file: stagemonitor-core/src/main/java/org/stagemonitor/core/util/VersionUtils.java
focal_class.identifier: VersionUtils
focal_class.class_method_signature: VersionUtils.VersionUtils()
focal_class.full_signature: private  VersionUtils()
focal_class.identifier: VersionUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  VersionUtils()
focal_class.class_method_signature: VersionUtils.getVersionFromPomProperties(Class clazz, String groupId, String artifactId)
focal_class.full_signature: public static String getVersionFromPomProperties(Class clazz, String groupId, String artifactId)
focal_class.identifier: getVersionFromPomProperties
focal_class.modifiers: public static
focal_class.parameters: (Class clazz, String groupId, String artifactId)
focal_class.return: String
focal_class.signature: String getVersionFromPomProperties(Class clazz, String groupId, String artifactId)
focal_class.class_method_signature: VersionUtils.getMajorVersionFromPomProperties(Class clazz, String groupId, String artifactId)
focal_class.full_signature: public static Integer getMajorVersionFromPomProperties(Class clazz, String groupId, String artifactId)
focal_class.identifier: getMajorVersionFromPomProperties
focal_class.modifiers: public static
focal_class.parameters: (Class clazz, String groupId, String artifactId)
focal_class.return: Integer
focal_class.signature: Integer getMajorVersionFromPomProperties(Class clazz, String groupId, String artifactId)
focal_class.class_method_signature: VersionUtils.getMajorVersion(String version)
focal_class.full_signature: public static Integer getMajorVersion(String version)
focal_class.identifier: getMajorVersion
focal_class.modifiers: public static
focal_class.parameters: (String version)
focal_class.return: Integer
focal_class.signature: Integer getMajorVersion(String version)
focal_class.class_method_signature: VersionUtils.getMavenCentralDownloadLink(String groupId, String artifactId, String version)
focal_class.full_signature: public static String getMavenCentralDownloadLink(String groupId, String artifactId, String version)
focal_class.identifier: getMavenCentralDownloadLink
focal_class.modifiers: public static
focal_class.parameters: (String groupId, String artifactId, String version)
focal_class.return: String
focal_class.signature: String getMavenCentralDownloadLink(String groupId, String artifactId, String version)
focal_method.body: public static String getVersionFromPomProperties(Class clazz, String groupId, String artifactId) {
  		final String classpathLocation = "META-INF/maven/" + groupId + "/" + artifactId + "/pom.properties";
  		final Properties pomProperties = PropertyFileConfigurationSource.getFromClasspath(classpathLocation, clazz.getClassLoader());
  		if (pomProperties != null) {
  			return pomProperties.getProperty("version");
  		}
  		return null;
  	}
focal_method.class_method_signature: VersionUtils.getVersionFromPomProperties(Class clazz, String groupId, String artifactId)
focal_method.full_signature: public static String getVersionFromPomProperties(Class clazz, String groupId, String artifactId)
focal_method.identifier: getVersionFromPomProperties
focal_method.invocations: getFromClasspath getClassLoader getProperty
focal_method.modifiers: public static
focal_method.parameters: (Class clazz, String groupId, String artifactId)
focal_method.return: String
focal_method.signature: String getVersionFromPomProperties(Class clazz, String groupId, String artifactId)