test_class.file: dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/builders/AbstractReferenceBuilderTest.java
test_class.identifier: AbstractReferenceBuilderTest
test_case.body: @Test
      void build() {
          ReferenceBuilder builder = new ReferenceBuilder();
          builder.check(true).init(false).generic(true).injvm(false).lazy(true).reconnect("reconnect").sticky(false)
                  .version("version").group("group").id("id").prefix("prefix");
  
          ReferenceConfig config = builder.build();
          ReferenceConfig config2 = builder.build();
  
          Assertions.assertEquals("id", config.getId());
          Assertions.assertEquals("prefix", config.getPrefix());
          Assertions.assertTrue(config.isCheck());
          Assertions.assertFalse(config.isInit());
          Assertions.assertTrue(config.isGeneric());
          Assertions.assertFalse(config.isInjvm());
          Assertions.assertTrue(config.getLazy());
          Assertions.assertFalse(config.getSticky());
          Assertions.assertEquals("reconnect", config.getReconnect());
          Assertions.assertEquals("version", config.getVersion());
          Assertions.assertEquals("group", config.getGroup());
  
          Assertions.assertNotSame(config, config2);
      }
test_case.class_method_signature: AbstractReferenceBuilderTest.build()
test_case.full_signature: @Test void build()
test_case.identifier: build
test_case.invocations: prefix id group version sticky reconnect lazy injvm generic init check build build assertEquals getId assertEquals getPrefix assertTrue isCheck assertFalse isInit assertTrue isGeneric assertFalse isInjvm assertTrue getLazy assertFalse getSticky assertEquals getReconnect assertEquals getVersion assertEquals getGroup assertNotSame
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void build()
focal_class.declarator: check
focal_class.modifier: protected
focal_class.original_string: protected Boolean check;
focal_class.type: Boolean
focal_class.var_name: check
focal_class.declarator: init
focal_class.modifier: protected
focal_class.original_string: protected Boolean init;
focal_class.type: Boolean
focal_class.var_name: init
focal_class.declarator: generic
focal_class.modifier: protected
focal_class.original_string: protected String generic;
focal_class.type: String
focal_class.var_name: generic
focal_class.declarator: injvm
focal_class.modifier: protected
focal_class.original_string: protected Boolean injvm;
focal_class.type: Boolean
focal_class.var_name: injvm
focal_class.declarator: lazy
focal_class.modifier: protected
focal_class.original_string: protected Boolean lazy;
focal_class.type: Boolean
focal_class.var_name: lazy
focal_class.declarator: reconnect
focal_class.modifier: protected
focal_class.original_string: protected String reconnect;
focal_class.type: String
focal_class.var_name: reconnect
focal_class.declarator: sticky
focal_class.modifier: protected
focal_class.original_string: protected Boolean sticky;
focal_class.type: Boolean
focal_class.var_name: sticky
focal_class.declarator: version
focal_class.modifier: protected
focal_class.original_string: protected String version;
focal_class.type: String
focal_class.var_name: version
focal_class.declarator: group
focal_class.modifier: protected
focal_class.original_string: protected String group;
focal_class.type: String
focal_class.var_name: group
focal_class.file: dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/AbstractReferenceBuilder.java
focal_class.identifier: AbstractReferenceBuilder
focal_class.class_method_signature: AbstractReferenceBuilder.check(Boolean check)
focal_class.full_signature: public B check(Boolean check)
focal_class.identifier: check
focal_class.modifiers: public
focal_class.parameters: (Boolean check)
focal_class.return: B
focal_class.signature: B check(Boolean check)
focal_class.class_method_signature: AbstractReferenceBuilder.init(Boolean init)
focal_class.full_signature: public B init(Boolean init)
focal_class.identifier: init
focal_class.modifiers: public
focal_class.parameters: (Boolean init)
focal_class.return: B
focal_class.signature: B init(Boolean init)
focal_class.class_method_signature: AbstractReferenceBuilder.generic(String generic)
focal_class.full_signature: public B generic(String generic)
focal_class.identifier: generic
focal_class.modifiers: public
focal_class.parameters: (String generic)
focal_class.return: B
focal_class.signature: B generic(String generic)
focal_class.class_method_signature: AbstractReferenceBuilder.generic(Boolean generic)
focal_class.full_signature: public B generic(Boolean generic)
focal_class.identifier: generic
focal_class.modifiers: public
focal_class.parameters: (Boolean generic)
focal_class.return: B
focal_class.signature: B generic(Boolean generic)
focal_class.class_method_signature: AbstractReferenceBuilder.injvm(Boolean injvm)
focal_class.full_signature: @Deprecated public B injvm(Boolean injvm)
focal_class.identifier: injvm
focal_class.modifiers: @Deprecated public
focal_class.parameters: (Boolean injvm)
focal_class.return: B
focal_class.signature: B injvm(Boolean injvm)
focal_class.class_method_signature: AbstractReferenceBuilder.lazy(Boolean lazy)
focal_class.full_signature: public B lazy(Boolean lazy)
focal_class.identifier: lazy
focal_class.modifiers: public
focal_class.parameters: (Boolean lazy)
focal_class.return: B
focal_class.signature: B lazy(Boolean lazy)
focal_class.class_method_signature: AbstractReferenceBuilder.reconnect(String reconnect)
focal_class.full_signature: public B reconnect(String reconnect)
focal_class.identifier: reconnect
focal_class.modifiers: public
focal_class.parameters: (String reconnect)
focal_class.return: B
focal_class.signature: B reconnect(String reconnect)
focal_class.class_method_signature: AbstractReferenceBuilder.sticky(Boolean sticky)
focal_class.full_signature: public B sticky(Boolean sticky)
focal_class.identifier: sticky
focal_class.modifiers: public
focal_class.parameters: (Boolean sticky)
focal_class.return: B
focal_class.signature: B sticky(Boolean sticky)
focal_class.class_method_signature: AbstractReferenceBuilder.version(String version)
focal_class.full_signature: public B version(String version)
focal_class.identifier: version
focal_class.modifiers: public
focal_class.parameters: (String version)
focal_class.return: B
focal_class.signature: B version(String version)
focal_class.class_method_signature: AbstractReferenceBuilder.group(String group)
focal_class.full_signature: public B group(String group)
focal_class.identifier: group
focal_class.modifiers: public
focal_class.parameters: (String group)
focal_class.return: B
focal_class.signature: B group(String group)
focal_class.class_method_signature: AbstractReferenceBuilder.build(T instance)
focal_class.full_signature: @Override public void build(T instance)
focal_class.identifier: build
focal_class.modifiers: @Override public
focal_class.parameters: (T instance)
focal_class.return: void
focal_class.signature: void build(T instance)
focal_class.superclass: extends AbstractInterfaceBuilder<T, B>
focal_method.body: @Override
      public void build(T instance) {
          super.build(instance);
  
          if (check != null) {
              instance.setCheck(check);
          }
          if (init != null) {
              instance.setInit(init);
          }
          if (!StringUtils.isEmpty(generic)) {
              instance.setGeneric(generic);
          }
          if (injvm != null) {
              instance.setInjvm(injvm);
          }
          if (lazy != null) {
              instance.setLazy(lazy);
          }
          if (!StringUtils.isEmpty(reconnect)) {
              instance.setReconnect(reconnect);
          }
          if (sticky != null) {
              instance.setSticky(sticky);
          }
          if (!StringUtils.isEmpty(version)) {
              instance.setVersion(version);
          }
          if (!StringUtils.isEmpty(group)) {
              instance.setGroup(group);
          }
      }
focal_method.class_method_signature: AbstractReferenceBuilder.build(T instance)
focal_method.full_signature: @Override public void build(T instance)
focal_method.identifier: build
focal_method.invocations: build setCheck setInit isEmpty setGeneric setInjvm setLazy isEmpty setReconnect setSticky isEmpty setVersion isEmpty setGroup
focal_method.modifiers: @Override public
focal_method.parameters: (T instance)
focal_method.return: void
focal_method.signature: void build(T instance)