test_class.file: oak-store-spi/src/test/java/org/apache/jackrabbit/oak/json/TypeCodesTest.java
test_class.identifier: TypeCodesTest
test_case.body: @Test
      public void testDecodeName() {
          String strFoo = "str:foo";
          assertEquals("foo", TypeCodes.decodeName(TypeCodes.split(strFoo), strFoo));
  
          String str = "str:";
          assertEquals("", TypeCodes.decodeName(TypeCodes.split(str), str));
  
          String any = "any";
          assertEquals("any", TypeCodes.decodeName(TypeCodes.split(any), any));
  
          String empty = "";
          assertEquals("", TypeCodes.decodeName(TypeCodes.split(empty), empty));
      }
test_case.class_method_signature: TypeCodesTest.testDecodeName()
test_case.full_signature: @Test public void testDecodeName()
test_case.identifier: testDecodeName
test_case.invocations: assertEquals decodeName split assertEquals decodeName split assertEquals decodeName split assertEquals decodeName split
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDecodeName()
focal_class.declarator: EMPTY_ARRAY = "[0]:"
focal_class.modifier: public static final
focal_class.original_string: public static final String EMPTY_ARRAY = "[0]:";
focal_class.type: String
focal_class.var_name: EMPTY_ARRAY
focal_class.declarator: TYPE2CODE = new HashMap<Integer, String>()
focal_class.modifier: private static final
focal_class.original_string: private static final Map<Integer, String> TYPE2CODE = new HashMap<Integer, String>();
focal_class.type: Map<Integer, String>
focal_class.var_name: TYPE2CODE
focal_class.declarator: CODE2TYPE = new HashMap<String, Integer>()
focal_class.modifier: private static final
focal_class.original_string: private static final Map<String, Integer> CODE2TYPE = new HashMap<String, Integer>();
focal_class.type: Map<String, Integer>
focal_class.var_name: CODE2TYPE
focal_class.file: oak-store-spi/src/main/java/org/apache/jackrabbit/oak/json/TypeCodes.java
focal_class.identifier: TypeCodes
focal_class.class_method_signature: TypeCodes.TypeCodes()
focal_class.full_signature: private  TypeCodes()
focal_class.identifier: TypeCodes
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  TypeCodes()
focal_class.class_method_signature: TypeCodes.encode(int propertyType, String propertyName)
focal_class.full_signature: public static String encode(int propertyType, String propertyName)
focal_class.identifier: encode
focal_class.modifiers: public static
focal_class.parameters: (int propertyType, String propertyName)
focal_class.return: String
focal_class.signature: String encode(int propertyType, String propertyName)
focal_class.class_method_signature: TypeCodes.split(String jsonString)
focal_class.full_signature: public static int split(String jsonString)
focal_class.identifier: split
focal_class.modifiers: public static
focal_class.parameters: (String jsonString)
focal_class.return: int
focal_class.signature: int split(String jsonString)
focal_class.class_method_signature: TypeCodes.decodeType(int split, String jsonString)
focal_class.full_signature: public static int decodeType(int split, String jsonString)
focal_class.identifier: decodeType
focal_class.modifiers: public static
focal_class.parameters: (int split, String jsonString)
focal_class.return: int
focal_class.signature: int decodeType(int split, String jsonString)
focal_class.class_method_signature: TypeCodes.decodeName(int split, String jsonString)
focal_class.full_signature: public static String decodeName(int split, String jsonString)
focal_class.identifier: decodeName
focal_class.modifiers: public static
focal_class.parameters: (int split, String jsonString)
focal_class.return: String
focal_class.signature: String decodeName(int split, String jsonString)
focal_method.body: public static String decodeName(int split, String jsonString) {
          if (split == -1 || split >= jsonString.length()) {
              return jsonString;
          }
          else {
              return jsonString.substring(split + 1);
          }
      }
focal_method.class_method_signature: TypeCodes.decodeName(int split, String jsonString)
focal_method.full_signature: public static String decodeName(int split, String jsonString)
focal_method.identifier: decodeName
focal_method.invocations: length substring
focal_method.modifiers: public static
focal_method.parameters: (int split, String jsonString)
focal_method.return: String
focal_method.signature: String decodeName(int split, String jsonString)