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 testGenerateMethodResultClassNameThrift() {
          Assertions.assertEquals(org.apache.dubbo.rpc.gen.thrift.Demo.echoString_result.class.getName(),
                  ThriftUtils.generateMethodResultClassNameThrift(
                          org.apache.dubbo.rpc.gen.thrift.Demo.Iface.class.getName(),
                          "echoString"));
  
          Assertions.assertEquals(org.apache.dubbo.rpc.gen.thrift.Demo.echoString_result.class.getName(),
                  ExtensionLoader.getExtensionLoader(ClassNameGenerator.class)
                          .getExtension(ThriftClassNameGenerator.NAME).generateResultClassName(
                          org.apache.dubbo.rpc.gen.thrift.Demo.Iface.class.getName(),
                          "echoString"));
  
      }
test_case.class_method_signature: ThriftUtilsTest.testGenerateMethodResultClassNameThrift()
test_case.full_signature: @Test public void testGenerateMethodResultClassNameThrift()
test_case.identifier: testGenerateMethodResultClassNameThrift
test_case.invocations: assertEquals getName generateMethodResultClassNameThrift getName assertEquals getName generateResultClassName getExtension getExtensionLoader getName
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGenerateMethodResultClassNameThrift()
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 generateMethodResultClassNameThrift(String serviceName, String methodName) {
  
          int index = serviceName.indexOf("$");
  
          if (index > 0) {
              return new StringBuilder(32)
                      .append(serviceName, 0, index + 1)
                      .append(methodName)
                      .append("_result")
                      .toString();
          }
  
          return null;
  
      }
focal_method.class_method_signature: ThriftUtils.generateMethodResultClassNameThrift(String serviceName, String methodName)
focal_method.full_signature: public static String generateMethodResultClassNameThrift(String serviceName, String methodName)
focal_method.identifier: generateMethodResultClassNameThrift
focal_method.invocations: indexOf toString append append append
focal_method.modifiers: public static
focal_method.parameters: (String serviceName, String methodName)
focal_method.return: String
focal_method.signature: String generateMethodResultClassNameThrift(String serviceName, String methodName)