test_class.file: dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/builders/ConsumerBuilderTest.java
test_class.identifier: ConsumerBuilderTest
test_case.body: @Test
      void build() {
          ConsumerBuilder builder = new ConsumerBuilder();
          builder.isDefault(true).client("client").threadPool("threadPool").coreThreads(10).threads(100).queues(200)
                  .shareConnections(300).id("id").prefix("prefix");
  
          ConsumerConfig config = builder.build();
          ConsumerConfig config2 = builder.build();
  
          Assertions.assertTrue(config.isDefault());
          Assertions.assertEquals("client", config.getClient());
          Assertions.assertEquals("threadPool", config.getThreadpool());
          Assertions.assertEquals("id", config.getId());
          Assertions.assertEquals("prefix", config.getPrefix());
          Assertions.assertEquals(10, config.getCorethreads());
          Assertions.assertEquals(100, config.getThreads());
          Assertions.assertEquals(200, config.getQueues());
          Assertions.assertEquals(300, config.getShareconnections());
          Assertions.assertNotSame(config, config2);
      }
test_case.class_method_signature: ConsumerBuilderTest.build()
test_case.full_signature: @Test void build()
test_case.identifier: build
test_case.invocations: prefix id shareConnections queues threads coreThreads threadPool client isDefault build build assertTrue isDefault assertEquals getClient assertEquals getThreadpool assertEquals getId assertEquals getPrefix assertEquals getCorethreads assertEquals getThreads assertEquals getQueues assertEquals getShareconnections assertNotSame
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void build()
focal_class.declarator: isDefault
focal_class.modifier: private
focal_class.original_string: private Boolean isDefault;
focal_class.type: Boolean
focal_class.var_name: isDefault
focal_class.declarator: client
focal_class.modifier: private
focal_class.original_string: private String client;
focal_class.type: String
focal_class.var_name: client
focal_class.declarator: threadpool
focal_class.modifier: private
focal_class.original_string: private String threadpool;
focal_class.type: String
focal_class.var_name: threadpool
focal_class.declarator: corethreads
focal_class.modifier: private
focal_class.original_string: private Integer corethreads;
focal_class.type: Integer
focal_class.var_name: corethreads
focal_class.declarator: threads
focal_class.modifier: private
focal_class.original_string: private Integer threads;
focal_class.type: Integer
focal_class.var_name: threads
focal_class.declarator: queues
focal_class.modifier: private
focal_class.original_string: private Integer queues;
focal_class.type: Integer
focal_class.var_name: queues
focal_class.declarator: shareconnections
focal_class.modifier: private
focal_class.original_string: private Integer shareconnections;
focal_class.type: Integer
focal_class.var_name: shareconnections
focal_class.file: dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/ConsumerBuilder.java
focal_class.identifier: ConsumerBuilder
focal_class.class_method_signature: ConsumerBuilder.isDefault(Boolean isDefault)
focal_class.full_signature: public ConsumerBuilder isDefault(Boolean isDefault)
focal_class.identifier: isDefault
focal_class.modifiers: public
focal_class.parameters: (Boolean isDefault)
focal_class.return: ConsumerBuilder
focal_class.signature: ConsumerBuilder isDefault(Boolean isDefault)
focal_class.class_method_signature: ConsumerBuilder.client(String client)
focal_class.full_signature: public ConsumerBuilder client(String client)
focal_class.identifier: client
focal_class.modifiers: public
focal_class.parameters: (String client)
focal_class.return: ConsumerBuilder
focal_class.signature: ConsumerBuilder client(String client)
focal_class.class_method_signature: ConsumerBuilder.threadPool(String threadPool)
focal_class.full_signature: public ConsumerBuilder threadPool(String threadPool)
focal_class.identifier: threadPool
focal_class.modifiers: public
focal_class.parameters: (String threadPool)
focal_class.return: ConsumerBuilder
focal_class.signature: ConsumerBuilder threadPool(String threadPool)
focal_class.class_method_signature: ConsumerBuilder.coreThreads(Integer coreThreads)
focal_class.full_signature: public ConsumerBuilder coreThreads(Integer coreThreads)
focal_class.identifier: coreThreads
focal_class.modifiers: public
focal_class.parameters: (Integer coreThreads)
focal_class.return: ConsumerBuilder
focal_class.signature: ConsumerBuilder coreThreads(Integer coreThreads)
focal_class.class_method_signature: ConsumerBuilder.threads(Integer threads)
focal_class.full_signature: public ConsumerBuilder threads(Integer threads)
focal_class.identifier: threads
focal_class.modifiers: public
focal_class.parameters: (Integer threads)
focal_class.return: ConsumerBuilder
focal_class.signature: ConsumerBuilder threads(Integer threads)
focal_class.class_method_signature: ConsumerBuilder.queues(Integer queues)
focal_class.full_signature: public ConsumerBuilder queues(Integer queues)
focal_class.identifier: queues
focal_class.modifiers: public
focal_class.parameters: (Integer queues)
focal_class.return: ConsumerBuilder
focal_class.signature: ConsumerBuilder queues(Integer queues)
focal_class.class_method_signature: ConsumerBuilder.shareConnections(Integer shareConnections)
focal_class.full_signature: public ConsumerBuilder shareConnections(Integer shareConnections)
focal_class.identifier: shareConnections
focal_class.modifiers: public
focal_class.parameters: (Integer shareConnections)
focal_class.return: ConsumerBuilder
focal_class.signature: ConsumerBuilder shareConnections(Integer shareConnections)
focal_class.class_method_signature: ConsumerBuilder.build()
focal_class.full_signature: public ConsumerConfig build()
focal_class.identifier: build
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ConsumerConfig
focal_class.signature: ConsumerConfig build()
focal_class.class_method_signature: ConsumerBuilder.getThis()
focal_class.full_signature: @Override protected ConsumerBuilder getThis()
focal_class.identifier: getThis
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: ConsumerBuilder
focal_class.signature: ConsumerBuilder getThis()
focal_class.superclass: extends AbstractReferenceBuilder<ConsumerConfig, ConsumerBuilder>
focal_method.body: public ConsumerConfig build() {
          ConsumerConfig consumer = new ConsumerConfig();
          super.build(consumer);
  
          consumer.setDefault(isDefault);
          consumer.setClient(client);
          consumer.setThreadpool(threadpool);
          consumer.setCorethreads(corethreads);
          consumer.setThreads(threads);
          consumer.setQueues(queues);
          consumer.setShareconnections(shareconnections);
  
          return consumer;
      }
focal_method.class_method_signature: ConsumerBuilder.build()
focal_method.full_signature: public ConsumerConfig build()
focal_method.identifier: build
focal_method.invocations: build setDefault setClient setThreadpool setCorethreads setThreads setQueues setShareconnections
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: ConsumerConfig
focal_method.signature: ConsumerConfig build()