test_class.file: dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/builders/AbstractBuilderTest.java
test_class.identifier: AbstractBuilderTest
test_case.body: @Test
      void appendParameters2() {
          Map<String, String> source = new HashMap<>();
          source.put("default.num", "one1");
          source.put("num", "ONE1");
  
          source = AbstractBuilder.appendParameter(source, "default.num", "one");
          source = AbstractBuilder.appendParameter(source, "num", "ONE");
  
          Assertions.assertTrue(source.containsKey("default.num"));
          Assertions.assertEquals("ONE", source.get("num"));
      }
test_case.class_method_signature: AbstractBuilderTest.appendParameters2()
test_case.full_signature: @Test void appendParameters2()
test_case.identifier: appendParameters2
test_case.invocations: put put appendParameter appendParameter assertTrue containsKey assertEquals get
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void appendParameters2()
focal_class.declarator: id
focal_class.modifier: protected
focal_class.original_string: protected String id;
focal_class.type: String
focal_class.var_name: id
focal_class.declarator: prefix
focal_class.modifier: protected
focal_class.original_string: protected String prefix;
focal_class.type: String
focal_class.var_name: prefix
focal_class.file: dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/AbstractBuilder.java
focal_class.identifier: AbstractBuilder
focal_class.class_method_signature: AbstractBuilder.id(String id)
focal_class.full_signature: public B id(String id)
focal_class.identifier: id
focal_class.modifiers: public
focal_class.parameters: (String id)
focal_class.return: B
focal_class.signature: B id(String id)
focal_class.class_method_signature: AbstractBuilder.prefix(String prefix)
focal_class.full_signature: protected B prefix(String prefix)
focal_class.identifier: prefix
focal_class.modifiers: protected
focal_class.parameters: (String prefix)
focal_class.return: B
focal_class.signature: B prefix(String prefix)
focal_class.class_method_signature: AbstractBuilder.getThis()
focal_class.full_signature: protected abstract B getThis()
focal_class.identifier: getThis
focal_class.modifiers: protected abstract
focal_class.parameters: ()
focal_class.return: B
focal_class.signature: B getThis()
focal_class.class_method_signature: AbstractBuilder.appendParameter(Map<String, String> parameters, String key, String value)
focal_class.full_signature: protected static Map<String, String> appendParameter(Map<String, String> parameters, String key, String value)
focal_class.identifier: appendParameter
focal_class.modifiers: protected static
focal_class.parameters: (Map<String, String> parameters, String key, String value)
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> appendParameter(Map<String, String> parameters, String key, String value)
focal_class.class_method_signature: AbstractBuilder.appendParameters(Map<String, String> parameters, Map<String, String> appendParameters)
focal_class.full_signature: protected static Map<String, String> appendParameters(Map<String, String> parameters, Map<String, String> appendParameters)
focal_class.identifier: appendParameters
focal_class.modifiers: protected static
focal_class.parameters: (Map<String, String> parameters, Map<String, String> appendParameters)
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> appendParameters(Map<String, String> parameters, Map<String, String> appendParameters)
focal_class.class_method_signature: AbstractBuilder.build(C instance)
focal_class.full_signature: protected void build(C instance)
focal_class.identifier: build
focal_class.modifiers: protected
focal_class.parameters: (C instance)
focal_class.return: void
focal_class.signature: void build(C instance)
focal_class.class_method_signature: AbstractBuilder.build()
focal_class.full_signature: public abstract C build()
focal_class.identifier: build
focal_class.modifiers: public abstract
focal_class.parameters: ()
focal_class.return: C
focal_class.signature: C build()
focal_method.body: protected static Map<String, String> appendParameter(Map<String, String> parameters, String key, String value) {
          if (parameters == null) {
              parameters = new HashMap<>();
          }
          parameters.put(key, value);
          return parameters;
      }
focal_method.class_method_signature: AbstractBuilder.appendParameter(Map<String, String> parameters, String key, String value)
focal_method.full_signature: protected static Map<String, String> appendParameter(Map<String, String> parameters, String key, String value)
focal_method.identifier: appendParameter
focal_method.invocations: put
focal_method.modifiers: protected static
focal_method.parameters: (Map<String, String> parameters, String key, String value)
focal_method.return: Map<String, String>
focal_method.signature: Map<String, String> appendParameter(Map<String, String> parameters, String key, String value)