test_class.file: chat/src/test/java/net/md_5/bungee/api/chat/TranslatableComponentTest.java
test_class.identifier: TranslatableComponentTest
test_case.body: @Test
      public void testJsonSerialisation()
      {
          TranslatableComponent testComponent = new TranslatableComponent( "Test string with %s placeholder", "a" );
          String jsonString = ComponentSerializer.toString( testComponent );
          BaseComponent[] baseComponents = ComponentSerializer.parse( jsonString );
  
          Assert.assertEquals( "Test string with a placeholder", TextComponent.toPlainText( baseComponents ) );
          Assert.assertEquals( "§fTest string with §fa§f placeholder", TextComponent.toLegacyText( baseComponents ) );
      }
test_case.class_method_signature: TranslatableComponentTest.testJsonSerialisation()
test_case.full_signature: @Test public void testJsonSerialisation()
test_case.identifier: testJsonSerialisation
test_case.invocations: toString parse assertEquals toPlainText assertEquals egacyText( b
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testJsonSerialisation()
focal_class.declarator: format = Pattern.compile( "%(?:(\\d+)\\$)?([A-Za-z%]|$)" )
focal_class.modifier: private final
focal_class.original_string: private final Pattern format = Pattern.compile( "%(?:(\\d+)\\$)?([A-Za-z%]|$)" );
focal_class.type: Pattern
focal_class.var_name: format
focal_class.declarator: translate
focal_class.modifier: private
focal_class.original_string: private String translate;
focal_class.type: String
focal_class.var_name: translate
focal_class.declarator: with
focal_class.modifier: private
focal_class.original_string: private List<BaseComponent> with;
focal_class.type: List<BaseComponent>
focal_class.var_name: with
focal_class.file: chat/src/main/java/net/md_5/bungee/api/chat/TranslatableComponent.java
focal_class.identifier: TranslatableComponent
focal_class.class_method_signature: TranslatableComponent.TranslatableComponent(TranslatableComponent original)
focal_class.full_signature: public  TranslatableComponent(TranslatableComponent original)
focal_class.identifier: TranslatableComponent
focal_class.modifiers: public
focal_class.parameters: (TranslatableComponent original)
focal_class.signature:  TranslatableComponent(TranslatableComponent original)
focal_class.class_method_signature: TranslatableComponent.TranslatableComponent(String translate, Object... with)
focal_class.full_signature: public  TranslatableComponent(String translate, Object... with)
focal_class.identifier: TranslatableComponent
focal_class.modifiers: public
focal_class.parameters: (String translate, Object... with)
focal_class.signature:  TranslatableComponent(String translate, Object... with)
focal_class.class_method_signature: TranslatableComponent.duplicate()
focal_class.full_signature: @Override public TranslatableComponent duplicate()
focal_class.identifier: duplicate
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: TranslatableComponent
focal_class.signature: TranslatableComponent duplicate()
focal_class.class_method_signature: TranslatableComponent.setWith(List<BaseComponent> components)
focal_class.full_signature: public void setWith(List<BaseComponent> components)
focal_class.identifier: setWith
focal_class.modifiers: public
focal_class.parameters: (List<BaseComponent> components)
focal_class.return: void
focal_class.signature: void setWith(List<BaseComponent> components)
focal_class.class_method_signature: TranslatableComponent.addWith(String text)
focal_class.full_signature: public void addWith(String text)
focal_class.identifier: addWith
focal_class.modifiers: public
focal_class.parameters: (String text)
focal_class.return: void
focal_class.signature: void addWith(String text)
focal_class.class_method_signature: TranslatableComponent.addWith(BaseComponent component)
focal_class.full_signature: public void addWith(BaseComponent component)
focal_class.identifier: addWith
focal_class.modifiers: public
focal_class.parameters: (BaseComponent component)
focal_class.return: void
focal_class.signature: void addWith(BaseComponent component)
focal_class.class_method_signature: TranslatableComponent.toPlainText(StringBuilder builder)
focal_class.full_signature: @Override protected void toPlainText(StringBuilder builder)
focal_class.identifier: toPlainText
focal_class.modifiers: @Override protected
focal_class.parameters: (StringBuilder builder)
focal_class.return: void
focal_class.signature: void toPlainText(StringBuilder builder)
focal_class.class_method_signature: TranslatableComponent.toLegacyText(StringBuilder builder)
focal_class.full_signature: @Override protected void toLegacyText(StringBuilder builder)
focal_class.identifier: toLegacyText
focal_class.modifiers: @Override protected
focal_class.parameters: (StringBuilder builder)
focal_class.return: void
focal_class.signature: void toLegacyText(StringBuilder builder)
focal_class.class_method_signature: TranslatableComponent.convert(StringBuilder builder, boolean applyFormat)
focal_class.full_signature: private void convert(StringBuilder builder, boolean applyFormat)
focal_class.identifier: convert
focal_class.modifiers: private
focal_class.parameters: (StringBuilder builder, boolean applyFormat)
focal_class.return: void
focal_class.signature: void convert(StringBuilder builder, boolean applyFormat)
focal_class.superclass: extends BaseComponent
focal_method.body: @Override
      protected void toPlainText(StringBuilder builder)
      {
          convert( builder, false );
          super.toPlainText( builder );
      }
focal_method.class_method_signature: TranslatableComponent.toPlainText(StringBuilder builder)
focal_method.full_signature: @Override protected void toPlainText(StringBuilder builder)
focal_method.identifier: toPlainText
focal_method.invocations: convert toPlainText
focal_method.modifiers: @Override protected
focal_method.parameters: (StringBuilder builder)
focal_method.return: void
focal_method.signature: void toPlainText(StringBuilder builder)