@Test public final void testCanConvert() { assertThat(testee.canConvert(this.getClass())).isFalse(); assertThat(testee.canConvert(DateTime.class)).isTrue(); }
@Override @SuppressWarnings("unchecked") public boolean canConvert(final Class type) { return (type != null) && DateTime.class.getPackage().equals(type.getPackage()); }
JodaTimeConverter implements Converter { @Override @SuppressWarnings("unchecked") public boolean canConvert(final Class type) { return (type != null) && DateTime.class.getPackage().equals(type.getPackage()); } }
JodaTimeConverter implements Converter { @Override @SuppressWarnings("unchecked") public boolean canConvert(final Class type) { return (type != null) && DateTime.class.getPackage().equals(type.getPackage()); }  }
JodaTimeConverter implements Converter { @Override @SuppressWarnings("unchecked") public boolean canConvert(final Class type) { return (type != null) && DateTime.class.getPackage().equals(type.getPackage()); }  @Override @SuppressWarnings("unchecked") boolean canConvert(final Class type); @Override void marshal(final Object source, final HierarchicalStreamWriter writer,
	        final MarshallingContext context); @Override @SuppressWarnings("unchecked") Object unmarshal(final HierarchicalStreamReader reader,
	        final UnmarshallingContext context); }
JodaTimeConverter implements Converter { @Override @SuppressWarnings("unchecked") public boolean canConvert(final Class type) { return (type != null) && DateTime.class.getPackage().equals(type.getPackage()); }  @Override @SuppressWarnings("unchecked") boolean canConvert(final Class type); @Override void marshal(final Object source, final HierarchicalStreamWriter writer,
	        final MarshallingContext context); @Override @SuppressWarnings("unchecked") Object unmarshal(final HierarchicalStreamReader reader,
	        final UnmarshallingContext context);  }