test_class.file: xlog-android/src/test/java/com/github/promeg/xlog_android/lib/StringsTest.java
test_class.identifier: StringsTest
test_case.body: @Test
      public void testLargePrimitiveArrayToString() {
          int[] list = new int[1000];
          for (int i = 0; i < 1000; i++) {
              list[i] = 123456;
          }
  
          String result = Strings.toString(list);
  
          String expectedTail = "] (126:1000)";
  
          assertThat(result.endsWith(expectedTail), is(true));
          assertThat(result.length(), lessThan(Strings.LOG_CONTENT_MAX_LENGTH + 20));
      }
test_case.class_method_signature: StringsTest.testLargePrimitiveArrayToString()
test_case.full_signature: @Test public void testLargePrimitiveArrayToString()
test_case.identifier: testLargePrimitiveArrayToString
test_case.invocations: toString assertThat endsWith is assertThat length lessThan
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testLargePrimitiveArrayToString()
focal_class.declarator: LOG_CONTENT_MAX_LENGTH = 1000
focal_class.modifier: static final
focal_class.original_string: static final int LOG_CONTENT_MAX_LENGTH = 1000;
focal_class.type: int
focal_class.var_name: LOG_CONTENT_MAX_LENGTH
focal_class.file: xlog-android/src/main/java/com/github/promeg/xlog_android/lib/Strings.java
focal_class.identifier: Strings
focal_class.class_method_signature: Strings.toString(Object obj)
focal_class.full_signature: static String toString(Object obj)
focal_class.identifier: toString
focal_class.modifiers: static
focal_class.parameters: (Object obj)
focal_class.return: String
focal_class.signature: String toString(Object obj)
focal_class.class_method_signature: Strings.printableToString(String string)
focal_class.full_signature: private static String printableToString(String string)
focal_class.identifier: printableToString
focal_class.modifiers: private static
focal_class.parameters: (String string)
focal_class.return: String
focal_class.signature: String printableToString(String string)
focal_class.class_method_signature: Strings.collectionToString(Collection collection)
focal_class.full_signature: private static String collectionToString(Collection collection)
focal_class.identifier: collectionToString
focal_class.modifiers: private static
focal_class.parameters: (Collection collection)
focal_class.return: String
focal_class.signature: String collectionToString(Collection collection)
focal_class.class_method_signature: Strings.arrayToString(Class<?> cls, Object obj)
focal_class.full_signature: private static String arrayToString(Class<?> cls, Object obj)
focal_class.identifier: arrayToString
focal_class.modifiers: private static
focal_class.parameters: (Class<?> cls, Object obj)
focal_class.return: String
focal_class.signature: String arrayToString(Class<?> cls, Object obj)
focal_class.class_method_signature: Strings.byteArrayToString(byte[] bytes)
focal_class.full_signature: private static String byteArrayToString(byte[] bytes)
focal_class.identifier: byteArrayToString
focal_class.modifiers: private static
focal_class.parameters: (byte[] bytes)
focal_class.return: String
focal_class.signature: String byteArrayToString(byte[] bytes)
focal_class.class_method_signature: Strings.byteToString(Byte b)
focal_class.full_signature: private static String byteToString(Byte b)
focal_class.identifier: byteToString
focal_class.modifiers: private static
focal_class.parameters: (Byte b)
focal_class.return: String
focal_class.signature: String byteToString(Byte b)
focal_class.class_method_signature: Strings.arrayToString(Object[] array)
focal_class.full_signature: private static String arrayToString(Object[] array)
focal_class.identifier: arrayToString
focal_class.modifiers: private static
focal_class.parameters: (Object[] array)
focal_class.return: String
focal_class.signature: String arrayToString(Object[] array)
focal_class.class_method_signature: Strings.arrayToString(Object[] array, StringBuilder builder, Set<Object[]> seen)
focal_class.full_signature: private static void arrayToString(Object[] array, StringBuilder builder, Set<Object[]> seen)
focal_class.identifier: arrayToString
focal_class.modifiers: private static
focal_class.parameters: (Object[] array, StringBuilder builder, Set<Object[]> seen)
focal_class.return: void
focal_class.signature: void arrayToString(Object[] array, StringBuilder builder, Set<Object[]> seen)
focal_class.class_method_signature: Strings.Strings()
focal_class.full_signature: private  Strings()
focal_class.identifier: Strings
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  Strings()
focal_method.body: static String toString(Object obj) {
          if (obj == null) {
              return "null";
          }
          if (obj instanceof CharSequence) {
              return '"' + printableToString(obj.toString()) + '"';
          }
  
          if (obj instanceof Collection) {
              return collectionToString((Collection) obj);
          }
  
          Class<?> cls = obj.getClass();
          if (Byte.class == cls) {
              return byteToString((Byte) obj);
          }
  
          if (cls.isArray()) {
              return arrayToString(cls.getComponentType(), obj);
          }
          return obj.toString();
      }
focal_method.class_method_signature: Strings.toString(Object obj)
focal_method.full_signature: static String toString(Object obj)
focal_method.identifier: toString
focal_method.invocations: printableToString toString collectionToString getClass byteToString isArray arrayToString getComponentType toString
focal_method.modifiers: static
focal_method.parameters: (Object obj)
focal_method.return: String
focal_method.signature: String toString(Object obj)