test_class.file: dubbo-rpc/dubbo-rpc-thrift/src/test/java/org/apache/dubbo/rpc/protocol/thrift/ThriftUtilsTest.java
test_class.identifier: ThriftUtilsTest
test_case.body: @Test
      public void testGenerateMethodArgsClassName() {
  
          Assertions.assertEquals(
                  $__DemoStub.echoString_args.class.getName(),
                  ThriftUtils.generateMethodArgsClassName(
                          org.apache.dubbo.rpc.gen.dubbo.Demo.class.getName(),
                          "echoString"));
  
          Assertions.assertEquals(
                  $__DemoStub.echoString_args.class.getName(),
                  ExtensionLoader.getExtensionLoader(ClassNameGenerator.class)
                          .getExtension(DubboClassNameGenerator.NAME).generateArgsClassName(
                          org.apache.dubbo.rpc.gen.dubbo.Demo.class.getName(), "echoString"));
  
      }
test_case.class_method_signature: ThriftUtilsTest.testGenerateMethodArgsClassName()
test_case.full_signature: @Test public void testGenerateMethodArgsClassName()
test_case.identifier: testGenerateMethodArgsClassName
test_case.invocations: assertEquals getName generateMethodArgsClassName getName assertEquals getName generateArgsClassName getExtension getExtensionLoader getName
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGenerateMethodArgsClassName()
focal_class.file: dubbo-rpc/dubbo-rpc-thrift/src/main/java/org/apache/dubbo/rpc/protocol/thrift/ThriftUtils.java
focal_class.identifier: ThriftUtils
focal_class.class_method_signature: ThriftUtils.generateMethodArgsClassName(String serviceName, String methodName)
focal_class.full_signature: public static String generateMethodArgsClassName(String serviceName, String methodName)
focal_class.identifier: generateMethodArgsClassName
focal_class.modifiers: public static
focal_class.parameters: (String serviceName, String methodName)
focal_class.return: String
focal_class.signature: String generateMethodArgsClassName(String serviceName, String methodName)
focal_class.class_method_signature: ThriftUtils.generateMethodResultClassName(String serviceName, String method)
focal_class.full_signature: public static String generateMethodResultClassName(String serviceName, String method)
focal_class.identifier: generateMethodResultClassName
focal_class.modifiers: public static
focal_class.parameters: (String serviceName, String method)
focal_class.return: String
focal_class.signature: String generateMethodResultClassName(String serviceName, String method)
focal_class.class_method_signature: ThriftUtils.generateSetMethodName(String fieldName)
focal_class.full_signature: public static String generateSetMethodName(String fieldName)
focal_class.identifier: generateSetMethodName
focal_class.modifiers: public static
focal_class.parameters: (String fieldName)
focal_class.return: String
focal_class.signature: String generateSetMethodName(String fieldName)
focal_class.class_method_signature: ThriftUtils.generateGetMethodName(String fieldName)
focal_class.full_signature: public static String generateGetMethodName(String fieldName)
focal_class.identifier: generateGetMethodName
focal_class.modifiers: public static
focal_class.parameters: (String fieldName)
focal_class.return: String
focal_class.signature: String generateGetMethodName(String fieldName)
focal_class.class_method_signature: ThriftUtils.generateMethodArgsClassNameThrift(String serviceName, String methodName)
focal_class.full_signature: public static String generateMethodArgsClassNameThrift(String serviceName, String methodName)
focal_class.identifier: generateMethodArgsClassNameThrift
focal_class.modifiers: public static
focal_class.parameters: (String serviceName, String methodName)
focal_class.return: String
focal_class.signature: String generateMethodArgsClassNameThrift(String serviceName, String methodName)
focal_class.class_method_signature: ThriftUtils.generateMethodResultClassNameThrift(String serviceName, String methodName)
focal_class.full_signature: public static String generateMethodResultClassNameThrift(String serviceName, String methodName)
focal_class.identifier: generateMethodResultClassNameThrift
focal_class.modifiers: public static
focal_class.parameters: (String serviceName, String methodName)
focal_class.return: String
focal_class.signature: String generateMethodResultClassNameThrift(String serviceName, String methodName)
focal_method.body: public static String generateMethodArgsClassName(String serviceName, String methodName) {
  
          int index = serviceName.lastIndexOf(".");
  
          if (index > 0) {
  
              return new StringBuilder(32)
                      .append(serviceName, 0, index + 1)
                      .append("$__")
                      .append(serviceName.substring(index + 1))
                      .append("Stub$")
                      .append(methodName)
                      .append("_args")
                      .toString();
  
          } else {
              return new StringBuffer(32)
                      .append("$__")
                      .append(serviceName)
                      .append("Stub$")
                      .append(methodName)
                      .append("_args")
                      .toString();
          }
  
      }
focal_method.class_method_signature: ThriftUtils.generateMethodArgsClassName(String serviceName, String methodName)
focal_method.full_signature: public static String generateMethodArgsClassName(String serviceName, String methodName)
focal_method.identifier: generateMethodArgsClassName
focal_method.invocations: lastIndexOf toString append append append append append append substring toString append append append append append
focal_method.modifiers: public static
focal_method.parameters: (String serviceName, String methodName)
focal_method.return: String
focal_method.signature: String generateMethodArgsClassName(String serviceName, String methodName)