test_class.file: nuxeo-java-client/src/test/java/org/nuxeo/client/TestNuxeoVersion.java
test_class.identifier: TestNuxeoVersion
test_case.body: @Test
      public void testVersion() {
          assertEquals("7.10", new NuxeoVersion(7, 10, -1, 0, false).version());
          assertEquals("7.10-HF05", new NuxeoVersion(7, 10, -1, 5, false).version());
          assertEquals("7.10-HF05-SNAPSHOT", new NuxeoVersion(7, 10, -1, 5, true).version());
          assertEquals("7.10-SNAPSHOT", new NuxeoVersion(7, 10, -1, 0, true).version());
          assertEquals("11.2.2", new NuxeoVersion(11, 2, 2, 0, false).version());
      }
test_case.class_method_signature: TestNuxeoVersion.testVersion()
test_case.full_signature: @Test public void testVersion()
test_case.identifier: testVersion
test_case.invocations: assertEquals version assertEquals version assertEquals version assertEquals version assertEquals version
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testVersion()
focal_class.declarator: LTS_7_10 = new NuxeoVersion(7, 10, -1, 0, false)
focal_class.modifier: public static final
focal_class.original_string: public static final NuxeoVersion LTS_7_10 = new NuxeoVersion(7, 10, -1, 0, false);
focal_class.type: NuxeoVersion
focal_class.var_name: LTS_7_10
focal_class.declarator: LTS_8_10 = new NuxeoVersion(8, 10, -1, 0, false)
focal_class.modifier: public static final
focal_class.original_string: public static final NuxeoVersion LTS_8_10 = new NuxeoVersion(8, 10, -1, 0, false);
focal_class.type: NuxeoVersion
focal_class.var_name: LTS_8_10
focal_class.declarator: LTS_9_10 = new NuxeoVersion(9, 10, -1, 0, false)
focal_class.modifier: public static final
focal_class.original_string: public static final NuxeoVersion LTS_9_10 = new NuxeoVersion(9, 10, -1, 0, false);
focal_class.type: NuxeoVersion
focal_class.var_name: LTS_9_10
focal_class.declarator: LTS_10_10 = new NuxeoVersion(10, 10, -1, 0, false)
focal_class.modifier: public static final
focal_class.original_string: public static final NuxeoVersion LTS_10_10 = new NuxeoVersion(10, 10, -1, 0, false);
focal_class.type: NuxeoVersion
focal_class.var_name: LTS_10_10
focal_class.declarator: NUXEO_VERSION_PATTERN = Pattern.compile(
              "(\\d+)\\.(\\d+)(?:\\.(\\d+))?(?:-HF(\\d+))?(-SNAPSHOT)?(-I\\d{8}_\\d{4})?")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern NUXEO_VERSION_PATTERN = Pattern.compile(
              "(\\d+)\\.(\\d+)(?:\\.(\\d+))?(?:-HF(\\d+))?(-SNAPSHOT)?(-I\\d{8}_\\d{4})?");
focal_class.type: Pattern
focal_class.var_name: NUXEO_VERSION_PATTERN
focal_class.declarator: majorVersion
focal_class.modifier: private final
focal_class.original_string: private final int majorVersion;
focal_class.type: int
focal_class.var_name: majorVersion
focal_class.declarator: minorVersion
focal_class.modifier: private final
focal_class.original_string: private final int minorVersion;
focal_class.type: int
focal_class.var_name: minorVersion
focal_class.declarator: buildVersion
focal_class.modifier: private final
focal_class.original_string: private final int buildVersion;
focal_class.type: int
focal_class.var_name: buildVersion
focal_class.declarator: hotfix
focal_class.modifier: private final
focal_class.original_string: private final int hotfix;
focal_class.type: int
focal_class.var_name: hotfix
focal_class.declarator: snapshot
focal_class.modifier: private final
focal_class.original_string: private final boolean snapshot;
focal_class.type: boolean
focal_class.var_name: snapshot
focal_class.file: nuxeo-java-client/src/main/java/org/nuxeo/client/NuxeoVersion.java
focal_class.identifier: NuxeoVersion
focal_class.class_method_signature: NuxeoVersion.NuxeoVersion(int majorVersion, int minorVersion, int buildVersion, int hotfix, boolean snapshot)
focal_class.full_signature: protected  NuxeoVersion(int majorVersion, int minorVersion, int buildVersion, int hotfix, boolean snapshot)
focal_class.identifier: NuxeoVersion
focal_class.modifiers: protected
focal_class.parameters: (int majorVersion, int minorVersion, int buildVersion, int hotfix, boolean snapshot)
focal_class.signature:  NuxeoVersion(int majorVersion, int minorVersion, int buildVersion, int hotfix, boolean snapshot)
focal_class.class_method_signature: NuxeoVersion.version()
focal_class.full_signature: public String version()
focal_class.identifier: version
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String version()
focal_class.class_method_signature: NuxeoVersion.majorVersion()
focal_class.full_signature: public int majorVersion()
focal_class.identifier: majorVersion
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int majorVersion()
focal_class.class_method_signature: NuxeoVersion.minorVersion()
focal_class.full_signature: public int minorVersion()
focal_class.identifier: minorVersion
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int minorVersion()
focal_class.class_method_signature: NuxeoVersion.buildVersion()
focal_class.full_signature: public int buildVersion()
focal_class.identifier: buildVersion
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int buildVersion()
focal_class.class_method_signature: NuxeoVersion.hotfix()
focal_class.full_signature: public int hotfix()
focal_class.identifier: hotfix
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hotfix()
focal_class.class_method_signature: NuxeoVersion.snapshot()
focal_class.full_signature: public boolean snapshot()
focal_class.identifier: snapshot
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean snapshot()
focal_class.class_method_signature: NuxeoVersion.equals(String version)
focal_class.full_signature: public boolean equals(String version)
focal_class.identifier: equals
focal_class.modifiers: public
focal_class.parameters: (String version)
focal_class.return: boolean
focal_class.signature: boolean equals(String version)
focal_class.class_method_signature: NuxeoVersion.equals(NuxeoVersion version)
focal_class.full_signature: public boolean equals(NuxeoVersion version)
focal_class.identifier: equals
focal_class.modifiers: public
focal_class.parameters: (NuxeoVersion version)
focal_class.return: boolean
focal_class.signature: boolean equals(NuxeoVersion version)
focal_class.class_method_signature: NuxeoVersion.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: NuxeoVersion.equals(Object version)
focal_class.full_signature: @Override public boolean equals(Object version)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object version)
focal_class.return: boolean
focal_class.signature: boolean equals(Object version)
focal_class.class_method_signature: NuxeoVersion.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: NuxeoVersion.hotfix(int hotfix)
focal_class.full_signature: public NuxeoVersion hotfix(int hotfix)
focal_class.identifier: hotfix
focal_class.modifiers: public
focal_class.parameters: (int hotfix)
focal_class.return: NuxeoVersion
focal_class.signature: NuxeoVersion hotfix(int hotfix)
focal_class.class_method_signature: NuxeoVersion.isGreaterThan(String version)
focal_class.full_signature: public boolean isGreaterThan(String version)
focal_class.identifier: isGreaterThan
focal_class.modifiers: public
focal_class.parameters: (String version)
focal_class.return: boolean
focal_class.signature: boolean isGreaterThan(String version)
focal_class.class_method_signature: NuxeoVersion.isGreaterThan(NuxeoVersion version)
focal_class.full_signature: public boolean isGreaterThan(NuxeoVersion version)
focal_class.identifier: isGreaterThan
focal_class.modifiers: public
focal_class.parameters: (NuxeoVersion version)
focal_class.return: boolean
focal_class.signature: boolean isGreaterThan(NuxeoVersion version)
focal_class.class_method_signature: NuxeoVersion.parse(String version)
focal_class.full_signature: public static NuxeoVersion parse(String version)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (String version)
focal_class.return: NuxeoVersion
focal_class.signature: NuxeoVersion parse(String version)
focal_method.body: public String version() {
          StringBuilder version = new StringBuilder();
          version.append(majorVersion()).append('.').append(minorVersion());
          if (buildVersion() != -1) {
              version.append('.').append(buildVersion());
          }
          if (hotfix() != 0) {
              version.append("-HF").append(String.format("%02d", hotfix()));
          }
          if (snapshot()) {
              version.append("-SNAPSHOT");
          }
          return version.toString();
      }
focal_method.class_method_signature: NuxeoVersion.version()
focal_method.full_signature: public String version()
focal_method.identifier: version
focal_method.invocations: append append append majorVersion minorVersion buildVersion append append buildVersion hotfix append append format hotfix snapshot append toString
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String version()