test_class.file: dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/bootstrap/builders/MethodBuilderTest.java
test_class.identifier: MethodBuilderTest
test_case.body: @Test
      void build() {
          ArgumentConfig argument = new ArgumentConfig();
          MethodBuilder builder = new MethodBuilder();
          builder.name("name").stat(1).retry(true).reliable(false).executes(2).deprecated(true).sticky(false)
                  .isReturn(true).oninvoke("on-invoke-object").oninvokeMethod("on-invoke-method").service("service")
                  .onreturn("on-return-object").onreturnMethod("on-return-method").serviceId("serviceId")
                  .onthrow("on-throw-object").onthrowMethod("on-throw-method").addArgument(argument);
  
          MethodConfig config = builder.build();
          MethodConfig config2 = builder.build();
  
          Assertions.assertTrue(config.isRetry());
          Assertions.assertFalse(config.isReliable());
          Assertions.assertTrue(config.getDeprecated());
          Assertions.assertFalse(config.getSticky());
          Assertions.assertTrue(config.isReturn());
          Assertions.assertEquals(1, config.getStat());
          Assertions.assertEquals(2, config.getExecutes());
          Assertions.assertEquals("on-invoke-object", config.getOninvoke());
          Assertions.assertEquals("on-invoke-method", config.getOninvokeMethod());
          Assertions.assertEquals("on-return-object", config.getOnreturn());
          Assertions.assertEquals("on-return-method", config.getOnreturnMethod());
          Assertions.assertEquals("on-throw-object", config.getOnthrow());
          Assertions.assertEquals("on-throw-method", config.getOnthrowMethod());
          Assertions.assertEquals("name", config.getName());
          Assertions.assertEquals("service", config.getService());
          Assertions.assertEquals("serviceId", config.getServiceId());
          Assertions.assertNotSame(config, config2);
      }
test_case.class_method_signature: MethodBuilderTest.build()
test_case.full_signature: @Test void build()
test_case.identifier: build
test_case.invocations: addArgument onthrowMethod onthrow serviceId onreturnMethod onreturn service oninvokeMethod oninvoke isReturn sticky deprecated executes reliable retry stat name build build assertTrue isRetry assertFalse isReliable assertTrue getDeprecated assertFalse getSticky assertTrue isReturn assertEquals getStat assertEquals getExecutes assertEquals getOninvoke assertEquals getOninvokeMethod assertEquals getOnreturn assertEquals getOnreturnMethod assertEquals getOnthrow assertEquals getOnthrowMethod assertEquals getName assertEquals getService assertEquals getServiceId assertNotSame
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void build()
focal_class.declarator: name
focal_class.modifier: private
focal_class.original_string: private String name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: stat
focal_class.modifier: private
focal_class.original_string: private Integer stat;
focal_class.type: Integer
focal_class.var_name: stat
focal_class.declarator: retry
focal_class.modifier: private
focal_class.original_string: private Boolean retry;
focal_class.type: Boolean
focal_class.var_name: retry
focal_class.declarator: reliable
focal_class.modifier: private
focal_class.original_string: private Boolean reliable;
focal_class.type: Boolean
focal_class.var_name: reliable
focal_class.declarator: executes
focal_class.modifier: private
focal_class.original_string: private Integer executes;
focal_class.type: Integer
focal_class.var_name: executes
focal_class.declarator: deprecated
focal_class.modifier: private
focal_class.original_string: private Boolean deprecated;
focal_class.type: Boolean
focal_class.var_name: deprecated
focal_class.declarator: sticky
focal_class.modifier: private
focal_class.original_string: private Boolean sticky;
focal_class.type: Boolean
focal_class.var_name: sticky
focal_class.declarator: isReturn
focal_class.modifier: private
focal_class.original_string: private Boolean isReturn;
focal_class.type: Boolean
focal_class.var_name: isReturn
focal_class.declarator: oninvoke
focal_class.modifier: private
focal_class.original_string: private Object oninvoke;
focal_class.type: Object
focal_class.var_name: oninvoke
focal_class.declarator: oninvokeMethod
focal_class.modifier: private
focal_class.original_string: private String oninvokeMethod;
focal_class.type: String
focal_class.var_name: oninvokeMethod
focal_class.declarator: onreturn
focal_class.modifier: private
focal_class.original_string: private Object onreturn;
focal_class.type: Object
focal_class.var_name: onreturn
focal_class.declarator: onreturnMethod
focal_class.modifier: private
focal_class.original_string: private String onreturnMethod;
focal_class.type: String
focal_class.var_name: onreturnMethod
focal_class.declarator: onthrow
focal_class.modifier: private
focal_class.original_string: private Object onthrow;
focal_class.type: Object
focal_class.var_name: onthrow
focal_class.declarator: onthrowMethod
focal_class.modifier: private
focal_class.original_string: private String onthrowMethod;
focal_class.type: String
focal_class.var_name: onthrowMethod
focal_class.declarator: arguments
focal_class.modifier: private
focal_class.original_string: private List<ArgumentConfig> arguments;
focal_class.type: List<ArgumentConfig>
focal_class.var_name: arguments
focal_class.declarator: service
focal_class.modifier: private
focal_class.original_string: private String service;
focal_class.type: String
focal_class.var_name: service
focal_class.declarator: serviceId
focal_class.modifier: private
focal_class.original_string: private String serviceId;
focal_class.type: String
focal_class.var_name: serviceId
focal_class.file: dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/MethodBuilder.java
focal_class.identifier: MethodBuilder
focal_class.class_method_signature: MethodBuilder.name(String name)
focal_class.full_signature: public MethodBuilder name(String name)
focal_class.identifier: name
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder name(String name)
focal_class.class_method_signature: MethodBuilder.stat(Integer stat)
focal_class.full_signature: public MethodBuilder stat(Integer stat)
focal_class.identifier: stat
focal_class.modifiers: public
focal_class.parameters: (Integer stat)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder stat(Integer stat)
focal_class.class_method_signature: MethodBuilder.retry(Boolean retry)
focal_class.full_signature: public MethodBuilder retry(Boolean retry)
focal_class.identifier: retry
focal_class.modifiers: public
focal_class.parameters: (Boolean retry)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder retry(Boolean retry)
focal_class.class_method_signature: MethodBuilder.reliable(Boolean reliable)
focal_class.full_signature: public MethodBuilder reliable(Boolean reliable)
focal_class.identifier: reliable
focal_class.modifiers: public
focal_class.parameters: (Boolean reliable)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder reliable(Boolean reliable)
focal_class.class_method_signature: MethodBuilder.executes(Integer executes)
focal_class.full_signature: public MethodBuilder executes(Integer executes)
focal_class.identifier: executes
focal_class.modifiers: public
focal_class.parameters: (Integer executes)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder executes(Integer executes)
focal_class.class_method_signature: MethodBuilder.deprecated(Boolean deprecated)
focal_class.full_signature: public MethodBuilder deprecated(Boolean deprecated)
focal_class.identifier: deprecated
focal_class.modifiers: public
focal_class.parameters: (Boolean deprecated)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder deprecated(Boolean deprecated)
focal_class.class_method_signature: MethodBuilder.sticky(Boolean sticky)
focal_class.full_signature: public MethodBuilder sticky(Boolean sticky)
focal_class.identifier: sticky
focal_class.modifiers: public
focal_class.parameters: (Boolean sticky)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder sticky(Boolean sticky)
focal_class.class_method_signature: MethodBuilder.isReturn(Boolean isReturn)
focal_class.full_signature: public MethodBuilder isReturn(Boolean isReturn)
focal_class.identifier: isReturn
focal_class.modifiers: public
focal_class.parameters: (Boolean isReturn)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder isReturn(Boolean isReturn)
focal_class.class_method_signature: MethodBuilder.oninvoke(Object oninvoke)
focal_class.full_signature: public MethodBuilder oninvoke(Object oninvoke)
focal_class.identifier: oninvoke
focal_class.modifiers: public
focal_class.parameters: (Object oninvoke)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder oninvoke(Object oninvoke)
focal_class.class_method_signature: MethodBuilder.oninvokeMethod(String oninvokeMethod)
focal_class.full_signature: public MethodBuilder oninvokeMethod(String oninvokeMethod)
focal_class.identifier: oninvokeMethod
focal_class.modifiers: public
focal_class.parameters: (String oninvokeMethod)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder oninvokeMethod(String oninvokeMethod)
focal_class.class_method_signature: MethodBuilder.onreturn(Object onreturn)
focal_class.full_signature: public MethodBuilder onreturn(Object onreturn)
focal_class.identifier: onreturn
focal_class.modifiers: public
focal_class.parameters: (Object onreturn)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder onreturn(Object onreturn)
focal_class.class_method_signature: MethodBuilder.onreturnMethod(String onreturnMethod)
focal_class.full_signature: public MethodBuilder onreturnMethod(String onreturnMethod)
focal_class.identifier: onreturnMethod
focal_class.modifiers: public
focal_class.parameters: (String onreturnMethod)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder onreturnMethod(String onreturnMethod)
focal_class.class_method_signature: MethodBuilder.onthrow(Object onthrow)
focal_class.full_signature: public MethodBuilder onthrow(Object onthrow)
focal_class.identifier: onthrow
focal_class.modifiers: public
focal_class.parameters: (Object onthrow)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder onthrow(Object onthrow)
focal_class.class_method_signature: MethodBuilder.onthrowMethod(String onthrowMethod)
focal_class.full_signature: public MethodBuilder onthrowMethod(String onthrowMethod)
focal_class.identifier: onthrowMethod
focal_class.modifiers: public
focal_class.parameters: (String onthrowMethod)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder onthrowMethod(String onthrowMethod)
focal_class.class_method_signature: MethodBuilder.addArguments(List<? extends ArgumentConfig> arguments)
focal_class.full_signature: public MethodBuilder addArguments(List<? extends ArgumentConfig> arguments)
focal_class.identifier: addArguments
focal_class.modifiers: public
focal_class.parameters: (List<? extends ArgumentConfig> arguments)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder addArguments(List<? extends ArgumentConfig> arguments)
focal_class.class_method_signature: MethodBuilder.addArgument(ArgumentConfig argument)
focal_class.full_signature: public MethodBuilder addArgument(ArgumentConfig argument)
focal_class.identifier: addArgument
focal_class.modifiers: public
focal_class.parameters: (ArgumentConfig argument)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder addArgument(ArgumentConfig argument)
focal_class.class_method_signature: MethodBuilder.service(String service)
focal_class.full_signature: public MethodBuilder service(String service)
focal_class.identifier: service
focal_class.modifiers: public
focal_class.parameters: (String service)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder service(String service)
focal_class.class_method_signature: MethodBuilder.serviceId(String serviceId)
focal_class.full_signature: public MethodBuilder serviceId(String serviceId)
focal_class.identifier: serviceId
focal_class.modifiers: public
focal_class.parameters: (String serviceId)
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder serviceId(String serviceId)
focal_class.class_method_signature: MethodBuilder.build()
focal_class.full_signature: public MethodConfig build()
focal_class.identifier: build
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: MethodConfig
focal_class.signature: MethodConfig build()
focal_class.class_method_signature: MethodBuilder.getThis()
focal_class.full_signature: @Override protected MethodBuilder getThis()
focal_class.identifier: getThis
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: MethodBuilder
focal_class.signature: MethodBuilder getThis()
focal_class.superclass: extends AbstractMethodBuilder<MethodConfig, MethodBuilder>
focal_method.body: public MethodConfig build() {
          MethodConfig methodConfig = new MethodConfig();
          super.build(methodConfig);
  
          methodConfig.setArguments(arguments);
          methodConfig.setDeprecated(deprecated);
          methodConfig.setExecutes(executes);
          methodConfig.setName(name);
          methodConfig.setOninvoke(oninvoke);
          methodConfig.setOninvokeMethod(oninvokeMethod);
          methodConfig.setOnreturn(onreturn);
          methodConfig.setOnreturnMethod(onreturnMethod);
          methodConfig.setOnthrow(onthrow);
          methodConfig.setOnthrowMethod(onthrowMethod);
          methodConfig.setReturn(isReturn);
          methodConfig.setService(service);
          methodConfig.setServiceId(serviceId);
          methodConfig.setSticky(sticky);
          methodConfig.setReliable(reliable);
          methodConfig.setStat(stat);
          methodConfig.setRetry(retry);
  
          return methodConfig;
      }
focal_method.class_method_signature: MethodBuilder.build()
focal_method.full_signature: public MethodConfig build()
focal_method.identifier: build
focal_method.invocations: build setArguments setDeprecated setExecutes setName setOninvoke setOninvokeMethod setOnreturn setOnreturnMethod setOnthrow setOnthrowMethod setReturn setService setServiceId setSticky setReliable setStat setRetry
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: MethodConfig
focal_method.signature: MethodConfig build()