test_class.declarator: converter = new DateToJodaTimeBaseLocalConverter()
test_class.original_string: DateToJodaTimeBaseLocalConverter converter = new DateToJodaTimeBaseLocalConverter();
test_class.type: DateToJodaTimeBaseLocalConverter
test_class.var_name: converter
test_class.file: beanmother-joda-time-converter/src/test/java/io/beanmother/joda/converter/DateToJodaTimeBaseLocalConverterTest.java
test_class.identifier: DateToJodaTimeBaseLocalConverterTest
test_case.body: @Test(expected = ConverterException.class)
      public void testConvertExceptionBySource() {
          converter.convert("2017-01-01", TypeToken.of(LocalTime.class));
      }
test_case.class_method_signature: DateToJodaTimeBaseLocalConverterTest.testConvertExceptionBySource()
test_case.full_signature: @Test(expected = ConverterException.class) public void testConvertExceptionBySource()
test_case.identifier: testConvertExceptionBySource
test_case.invocations: convert of
test_case.modifiers: @Test(expected = ConverterException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testConvertExceptionBySource()
focal_class.file: beanmother-joda-time-converter/src/main/java/io/beanmother/joda/converter/DateToJodaTimeBaseLocalConverter.java
focal_class.identifier: DateToJodaTimeBaseLocalConverter
focal_class.class_method_signature: DateToJodaTimeBaseLocalConverter.convert(Object source, TypeToken<?> targetTypeToken)
focal_class.full_signature: @SuppressWarnings("unchecked") @Override public Object convert(Object source, TypeToken<?> targetTypeToken)
focal_class.identifier: convert
focal_class.modifiers: @SuppressWarnings("unchecked") @Override public
focal_class.parameters: (Object source, TypeToken<?> targetTypeToken)
focal_class.return: Object
focal_class.signature: Object convert(Object source, TypeToken<?> targetTypeToken)
focal_class.class_method_signature: DateToJodaTimeBaseLocalConverter.canHandle(Object source, TypeToken<?> targetTypeToken)
focal_class.full_signature: @Override public boolean canHandle(Object source, TypeToken<?> targetTypeToken)
focal_class.identifier: canHandle
focal_class.modifiers: @Override public
focal_class.parameters: (Object source, TypeToken<?> targetTypeToken)
focal_class.return: boolean
focal_class.signature: boolean canHandle(Object source, TypeToken<?> targetTypeToken)
focal_class.superclass: extends AbstractConverter
focal_method.body: @SuppressWarnings("unchecked")
      @Override
      public Object convert(Object source, TypeToken<?> targetTypeToken) {
          if (!canHandle(source, targetTypeToken)) {
              throw new ConverterException(source, targetTypeToken.getRawType());
          }
  
          Constructor constructor;
          try {
              constructor = ((Class) targetTypeToken.getType()).getConstructor(Object.class);
          } catch (NoSuchMethodException e) {
              throw new ConverterException(source, targetTypeToken.getRawType(), e);
          }
          try {
              return constructor.newInstance(source);
          } catch (Exception e) {
              throw new ConverterException(source, targetTypeToken.getRawType(), e);
          }
      }
focal_method.class_method_signature: DateToJodaTimeBaseLocalConverter.convert(Object source, TypeToken<?> targetTypeToken)
focal_method.full_signature: @SuppressWarnings("unchecked") @Override public Object convert(Object source, TypeToken<?> targetTypeToken)
focal_method.identifier: convert
focal_method.invocations: canHandle getRawType getConstructor getType getRawType newInstance getRawType
focal_method.modifiers: @SuppressWarnings("unchecked") @Override public
focal_method.parameters: (Object source, TypeToken<?> targetTypeToken)
focal_method.return: Object
focal_method.signature: Object convert(Object source, TypeToken<?> targetTypeToken)