test_class.file: dubbo-common/src/test/java/org/apache/dubbo/common/io/UnsafeStringWriterTest.java
test_class.identifier: UnsafeStringWriterTest
test_case.body: @Test
      public void testAppend() {
          UnsafeStringWriter writer = new UnsafeStringWriter();
          writer.append("a");
          writer.append("abc", 1, 2);
          writer.append('c');
          writer.flush();
          writer.close();
  
          assertThat(writer.toString(), is("abc"));
      }
test_case.class_method_signature: UnsafeStringWriterTest.testAppend()
test_case.full_signature: @Test public void testAppend()
test_case.identifier: testAppend
test_case.invocations: append append append flush close assertThat toString is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAppend()
focal_class.declarator: mBuffer
focal_class.modifier: private
focal_class.original_string: private StringBuilder mBuffer;
focal_class.type: StringBuilder
focal_class.var_name: mBuffer
focal_class.file: dubbo-common/src/main/java/org/apache/dubbo/common/io/UnsafeStringWriter.java
focal_class.identifier: UnsafeStringWriter
focal_class.class_method_signature: UnsafeStringWriter.UnsafeStringWriter()
focal_class.full_signature: public  UnsafeStringWriter()
focal_class.identifier: UnsafeStringWriter
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  UnsafeStringWriter()
focal_class.class_method_signature: UnsafeStringWriter.UnsafeStringWriter(int size)
focal_class.full_signature: public  UnsafeStringWriter(int size)
focal_class.identifier: UnsafeStringWriter
focal_class.modifiers: public
focal_class.parameters: (int size)
focal_class.signature:  UnsafeStringWriter(int size)
focal_class.class_method_signature: UnsafeStringWriter.write(int c)
focal_class.full_signature: @Override public void write(int c)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (int c)
focal_class.return: void
focal_class.signature: void write(int c)
focal_class.class_method_signature: UnsafeStringWriter.write(char[] cs)
focal_class.full_signature: @Override public void write(char[] cs)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (char[] cs)
focal_class.return: void
focal_class.signature: void write(char[] cs)
focal_class.class_method_signature: UnsafeStringWriter.write(char[] cs, int off, int len)
focal_class.full_signature: @Override public void write(char[] cs, int off, int len)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (char[] cs, int off, int len)
focal_class.return: void
focal_class.signature: void write(char[] cs, int off, int len)
focal_class.class_method_signature: UnsafeStringWriter.write(String str)
focal_class.full_signature: @Override public void write(String str)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (String str)
focal_class.return: void
focal_class.signature: void write(String str)
focal_class.class_method_signature: UnsafeStringWriter.write(String str, int off, int len)
focal_class.full_signature: @Override public void write(String str, int off, int len)
focal_class.identifier: write
focal_class.modifiers: @Override public
focal_class.parameters: (String str, int off, int len)
focal_class.return: void
focal_class.signature: void write(String str, int off, int len)
focal_class.class_method_signature: UnsafeStringWriter.append(CharSequence csq)
focal_class.full_signature: @Override public Writer append(CharSequence csq)
focal_class.identifier: append
focal_class.modifiers: @Override public
focal_class.parameters: (CharSequence csq)
focal_class.return: Writer
focal_class.signature: Writer append(CharSequence csq)
focal_class.class_method_signature: UnsafeStringWriter.append(CharSequence csq, int start, int end)
focal_class.full_signature: @Override public Writer append(CharSequence csq, int start, int end)
focal_class.identifier: append
focal_class.modifiers: @Override public
focal_class.parameters: (CharSequence csq, int start, int end)
focal_class.return: Writer
focal_class.signature: Writer append(CharSequence csq, int start, int end)
focal_class.class_method_signature: UnsafeStringWriter.append(char c)
focal_class.full_signature: @Override public Writer append(char c)
focal_class.identifier: append
focal_class.modifiers: @Override public
focal_class.parameters: (char c)
focal_class.return: Writer
focal_class.signature: Writer append(char c)
focal_class.class_method_signature: UnsafeStringWriter.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: UnsafeStringWriter.flush()
focal_class.full_signature: @Override public void flush()
focal_class.identifier: flush
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void flush()
focal_class.class_method_signature: UnsafeStringWriter.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.superclass: extends Writer
focal_method.body: @Override
      public Writer append(CharSequence csq) {
          if (csq == null) {
              write("null");
          } else {
              write(csq.toString());
          }
          return this;
      }
focal_method.class_method_signature: UnsafeStringWriter.append(CharSequence csq)
focal_method.full_signature: @Override public Writer append(CharSequence csq)
focal_method.identifier: append
focal_method.invocations: write write toString
focal_method.modifiers: @Override public
focal_method.parameters: (CharSequence csq)
focal_method.return: Writer
focal_method.signature: Writer append(CharSequence csq)