test_class.declarator: i = 0
test_class.modifier: private
test_class.original_string: private int i = 0;
test_class.type: int
test_class.var_name: i
test_class.declarator: termId = TermId.of("MONDO", "001")
test_class.modifier: private
test_class.original_string: private TermId termId = TermId.of("MONDO", "001");
test_class.type: TermId
test_class.var_name: termId
test_class.file: phenol-io/src/test/java/org/monarchinitiative/phenol/io/utils/ObjHexStringConverterTest.java
test_class.identifier: ObjHexStringConverterTest
test_case.body: @Test
    void hex2obj() throws Exception {
      String intHex = ObjHexStringConverter.object2hex(i);
      Object objInt = ObjHexStringConverter.hex2obj(intHex);
      Assertions.assertEquals(i, (Integer) objInt);
  
      String objHex = ObjHexStringConverter.object2hex(termId);
      Object objTermId = ObjHexStringConverter.hex2obj(objHex);
      Assertions.assertEquals(termId, objTermId);
  
    }
test_case.class_method_signature: ObjHexStringConverterTest.hex2obj()
test_case.full_signature: @Test void hex2obj()
test_case.identifier: hex2obj
test_case.invocations: object2hex hex2obj assertEquals object2hex hex2obj assertEquals
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void hex2obj()
focal_class.file: phenol-io/src/main/java/org/monarchinitiative/phenol/io/utils/ObjHexStringConverter.java
focal_class.identifier: ObjHexStringConverter
focal_class.class_method_signature: ObjHexStringConverter.object2hex(Serializable obj)
focal_class.full_signature: public static String object2hex(Serializable obj)
focal_class.identifier: object2hex
focal_class.modifiers: public static
focal_class.parameters: (Serializable obj)
focal_class.return: String
focal_class.signature: String object2hex(Serializable obj)
focal_class.class_method_signature: ObjHexStringConverter.hex2obj(String hexString)
focal_class.full_signature: public static Object hex2obj(String hexString)
focal_class.identifier: hex2obj
focal_class.modifiers: public static
focal_class.parameters: (String hexString)
focal_class.return: Object
focal_class.signature: Object hex2obj(String hexString)
focal_method.body: public static Object hex2obj(String hexString) throws DecoderException, IOException, ClassNotFoundException {
      byte[] bytes = Hex.decodeHex(hexString.toCharArray());
      ByteArrayInputStream bytesIn = new ByteArrayInputStream(bytes);
      ObjectInputStream objIn = new ObjectInputStream(bytesIn);
      Object obj = objIn.readObject();
      bytesIn.close();
      objIn.close();
      return obj;
    }
focal_method.class_method_signature: ObjHexStringConverter.hex2obj(String hexString)
focal_method.full_signature: public static Object hex2obj(String hexString)
focal_method.identifier: hex2obj
focal_method.invocations: decodeHex toCharArray readObject close close
focal_method.modifiers: public static
focal_method.parameters: (String hexString)
focal_method.return: Object
focal_method.signature: Object hex2obj(String hexString)