test_class.file: alien4cloud-common/src/test/java/alien4cloud/utils/VersionUtilTest.java
test_class.identifier: VersionUtilTest
test_case.body: @Test(expected = InvalidVersionException.class)
      public void isQualifierValidOrFail() throws Exception {
          VersionUtil.isQualifierValidOrFail("Dev-SnAPSHoT-toto");
      }
test_case.class_method_signature: VersionUtilTest.isQualifierValidOrFail()
test_case.full_signature: @Test(expected = InvalidVersionException.class) public void isQualifierValidOrFail()
test_case.identifier: isQualifierValidOrFail
test_case.invocations: isQualifierValidOrFail
test_case.modifiers: @Test(expected = InvalidVersionException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void isQualifierValidOrFail()
focal_class.declarator: DEFAULT_VERSION_NAME = "0.1.0-SNAPSHOT"
focal_class.modifier: public static final
focal_class.original_string: public static final String DEFAULT_VERSION_NAME = "0.1.0-SNAPSHOT";
focal_class.type: String
focal_class.var_name: DEFAULT_VERSION_NAME
focal_class.declarator: VERSION_PATTERN = Pattern.compile("\\d+(?:\\.\\d+)*(?:[\\.-]\\p{Alnum}+)*")
focal_class.modifier: public static final
focal_class.original_string: public static final Pattern VERSION_PATTERN = Pattern.compile("\\d+(?:\\.\\d+)*(?:[\\.-]\\p{Alnum}+)*");
focal_class.type: Pattern
focal_class.var_name: VERSION_PATTERN
focal_class.declarator: SNAPSHOT_IDENTIFIER = "-SNAPSHOT"
focal_class.modifier: public static final
focal_class.original_string: public static final String SNAPSHOT_IDENTIFIER = "-SNAPSHOT";
focal_class.type: String
focal_class.var_name: SNAPSHOT_IDENTIFIER
focal_class.declarator: QUALIFIER_PATTERN = Pattern.compile("^((?!.*snapshot)[a-zA-Z0-9\\-_]+)*$", Pattern.CASE_INSENSITIVE)
focal_class.modifier: public static final
focal_class.original_string: public static final Pattern QUALIFIER_PATTERN = Pattern.compile("^((?!.*snapshot)[a-zA-Z0-9\\-_]+)*$", Pattern.CASE_INSENSITIVE);
focal_class.type: Pattern
focal_class.var_name: QUALIFIER_PATTERN
focal_class.file: alien4cloud-common/src/main/java/alien4cloud/utils/VersionUtil.java
focal_class.identifier: VersionUtil
focal_class.class_method_signature: VersionUtil.VersionUtil()
focal_class.full_signature: private  VersionUtil()
focal_class.identifier: VersionUtil
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  VersionUtil()
focal_class.class_method_signature: VersionUtil.isSnapshot(String version)
focal_class.full_signature: public static boolean isSnapshot(String version)
focal_class.identifier: isSnapshot
focal_class.modifiers: public static
focal_class.parameters: (String version)
focal_class.return: boolean
focal_class.signature: boolean isSnapshot(String version)
focal_class.class_method_signature: VersionUtil.isValid(String version)
focal_class.full_signature: public static boolean isValid(String version)
focal_class.identifier: isValid
focal_class.modifiers: public static
focal_class.parameters: (String version)
focal_class.return: boolean
focal_class.signature: boolean isValid(String version)
focal_class.class_method_signature: VersionUtil.isValidOrFail(String version)
focal_class.full_signature: public static void isValidOrFail(String version)
focal_class.identifier: isValidOrFail
focal_class.modifiers: public static
focal_class.parameters: (String version)
focal_class.return: void
focal_class.signature: void isValidOrFail(String version)
focal_class.class_method_signature: VersionUtil.parseVersion(String version)
focal_class.full_signature: public static Version parseVersion(String version)
focal_class.identifier: parseVersion
focal_class.modifiers: public static
focal_class.parameters: (String version)
focal_class.return: Version
focal_class.signature: Version parseVersion(String version)
focal_class.class_method_signature: VersionUtil.compare(String versionLeft, String versionRight)
focal_class.full_signature: public static int compare(String versionLeft, String versionRight)
focal_class.identifier: compare
focal_class.modifiers: public static
focal_class.parameters: (String versionLeft, String versionRight)
focal_class.return: int
focal_class.signature: int compare(String versionLeft, String versionRight)
focal_class.class_method_signature: VersionUtil.isQualifierValid(String qualifier)
focal_class.full_signature: public static boolean isQualifierValid(String qualifier)
focal_class.identifier: isQualifierValid
focal_class.modifiers: public static
focal_class.parameters: (String qualifier)
focal_class.return: boolean
focal_class.signature: boolean isQualifierValid(String qualifier)
focal_class.class_method_signature: VersionUtil.isQualifierValidOrFail(String qualifier)
focal_class.full_signature: public static void isQualifierValidOrFail(String qualifier)
focal_class.identifier: isQualifierValidOrFail
focal_class.modifiers: public static
focal_class.parameters: (String qualifier)
focal_class.return: void
focal_class.signature: void isQualifierValidOrFail(String qualifier)
focal_method.body: public static void isQualifierValidOrFail(String qualifier) {
          if (!isQualifierValid(qualifier)) {
              throw new InvalidVersionException("This qualifier [" + qualifier + "] is not valid as it does not match [" + QUALIFIER_PATTERN + "]");
          }
      }
focal_method.class_method_signature: VersionUtil.isQualifierValidOrFail(String qualifier)
focal_method.full_signature: public static void isQualifierValidOrFail(String qualifier)
focal_method.identifier: isQualifierValidOrFail
focal_method.invocations: isQualifierValid
focal_method.modifiers: public static
focal_method.parameters: (String qualifier)
focal_method.return: void
focal_method.signature: void isQualifierValidOrFail(String qualifier)