test_class.declarator: converter
test_class.modifier: private
test_class.original_string: private StringToDoubleConverter converter;
test_class.type: StringToDoubleConverter
test_class.var_name: converter
test_class.file: dubbo-common/src/test/java/org/apache/dubbo/common/convert/StringToDoubleConverterTest.java
test_class.identifier: StringToDoubleConverterTest
test_case.body: @Test
      public void testConvert() {
          assertEquals(Double.valueOf("1.0"), converter.convert("1.0"));
          assertNull(converter.convert(null));
          assertThrows(NumberFormatException.class, () -> {
              converter.convert("ttt");
          });
      }
test_case.class_method_signature: StringToDoubleConverterTest.testConvert()
test_case.full_signature: @Test public void testConvert()
test_case.identifier: testConvert
test_case.invocations: assertEquals valueOf convert assertNull convert assertThrows convert
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testConvert()
focal_class.file: dubbo-common/src/main/java/org/apache/dubbo/common/convert/StringToDoubleConverter.java
focal_class.identifier: StringToDoubleConverter
focal_class.interfaces: implements StringConverter<Double>
focal_class.class_method_signature: StringToDoubleConverter.convert(String source)
focal_class.full_signature: @Override public Double convert(String source)
focal_class.identifier: convert
focal_class.modifiers: @Override public
focal_class.parameters: (String source)
focal_class.return: Double
focal_class.signature: Double convert(String source)
focal_class.class_method_signature: StringToDoubleConverter.getPriority()
focal_class.full_signature: @Override public int getPriority()
focal_class.identifier: getPriority
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getPriority()
focal_method.body: @Override
      public Double convert(String source) {
          return isNotEmpty(source) ? valueOf(source) : null;
      }
focal_method.class_method_signature: StringToDoubleConverter.convert(String source)
focal_method.full_signature: @Override public Double convert(String source)
focal_method.identifier: convert
focal_method.invocations: isNotEmpty valueOf
focal_method.modifiers: @Override public
focal_method.parameters: (String source)
focal_method.return: Double
focal_method.signature: Double convert(String source)