test_class.declarator: converter
test_class.modifier: private
test_class.original_string: private StringToOptionalConverter converter;
test_class.type: StringToOptionalConverter
test_class.var_name: converter
test_class.file: dubbo-common/src/test/java/org/apache/dubbo/common/convert/StringToOptionalConverterTest.java
test_class.identifier: StringToOptionalConverterTest
test_case.body: @Test
      public void testConvert() {
          assertEquals(Optional.of("1"), converter.convert("1"));
          assertEquals(Optional.empty(), converter.convert(null));
      }
test_case.class_method_signature: StringToOptionalConverterTest.testConvert()
test_case.full_signature: @Test public void testConvert()
test_case.identifier: testConvert
test_case.invocations: assertEquals of convert assertEquals empty 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/StringToOptionalConverter.java
focal_class.identifier: StringToOptionalConverter
focal_class.interfaces: implements StringConverter<Optional>
focal_class.class_method_signature: StringToOptionalConverter.convert(String source)
focal_class.full_signature: @Override public Optional convert(String source)
focal_class.identifier: convert
focal_class.modifiers: @Override public
focal_class.parameters: (String source)
focal_class.return: Optional
focal_class.signature: Optional convert(String source)
focal_class.class_method_signature: StringToOptionalConverter.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 Optional convert(String source) {
          return ofNullable(source);
      }
focal_method.class_method_signature: StringToOptionalConverter.convert(String source)
focal_method.full_signature: @Override public Optional convert(String source)
focal_method.identifier: convert
focal_method.invocations: ofNullable
focal_method.modifiers: @Override public
focal_method.parameters: (String source)
focal_method.return: Optional
focal_method.signature: Optional convert(String source)