test_class.file: shardingsphere-infra/shardingsphere-infra-rewrite/shardingsphere-infra-rewrite-engine/src/test/java/org/apache/shardingsphere/infra/rewrite/sql/token/pojo/generic/InsertValueTest.java
test_class.identifier: InsertValueTest
test_case.body: @Test
      public void assertToString() {
          List<ExpressionSegment> expressionSegmentList = new ArrayList<>(3);
          ParameterMarkerExpressionSegment parameterMarkerExpressionSegment = new ParameterMarkerExpressionSegment(1, 1, 1);
          LiteralExpressionSegment literalExpressionSegment = new LiteralExpressionSegment(2, 2, "literals");
          ComplexExpressionSegment complexExpressionSegment = new ComplexExpressionSegment() {
              
              @Override
              public String getText() {
                  return "complexExpressionSegment";
              }
              
              @Override
              public int getStartIndex() {
                  return 3;
              }
              
              @Override
              public int getStopIndex() {
                  return 3;
              }
          };
          expressionSegmentList.add(parameterMarkerExpressionSegment);
          expressionSegmentList.add(literalExpressionSegment);
          expressionSegmentList.add(complexExpressionSegment);
          InsertValue insertValue = new InsertValue(expressionSegmentList);
          String actualToString = insertValue.toString();
          String expectedToString = "(?, 'literals', complexExpressionSegment)";
          assertThat(actualToString, is(expectedToString));
      }
test_case.class_method_signature: InsertValueTest.assertToString()
test_case.full_signature: @Test public void assertToString()
test_case.identifier: assertToString
test_case.invocations: add add add toString assertThat is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertToString()
focal_class.declarator: values
focal_class.modifier: private final
focal_class.original_string: private final List<ExpressionSegment> values;
focal_class.type: List<ExpressionSegment>
focal_class.var_name: values
focal_class.file: shardingsphere-infra/shardingsphere-infra-rewrite/shardingsphere-infra-rewrite-engine/src/main/java/org/apache/shardingsphere/infra/rewrite/sql/token/pojo/generic/InsertValue.java
focal_class.identifier: InsertValue
focal_class.class_method_signature: InsertValue.toString()
focal_class.full_signature: @Override public final String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: InsertValue.getValue(final int index)
focal_class.full_signature: private String getValue(final int index)
focal_class.identifier: getValue
focal_class.modifiers: private
focal_class.parameters: (final int index)
focal_class.return: String
focal_class.signature: String getValue(final int index)
focal_method.body: @Override
      public final String toString() {
          StringBuilder result = new StringBuilder();
          result.append("(");
          for (int i = 0; i < values.size(); i++) {
              result.append(getValue(i)).append(", ");
          }
          result.delete(result.length() - 2, result.length()).append(")");
          return result.toString();
      }
focal_method.class_method_signature: InsertValue.toString()
focal_method.full_signature: @Override public final String toString()
focal_method.identifier: toString
focal_method.invocations: append size append append getValue append delete length length toString
focal_method.modifiers: @Override public final
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String toString()