@Test public void testIsSupported() throws Exception { assertTrue(ObjectConverterRegistry.isSupported("test")); assertTrue(ObjectConverterRegistry.isSupported('a')); assertTrue(ObjectConverterRegistry.isSupported(1)); assertTrue(ObjectConverterRegistry.isSupported(Byte.valueOf("1"))); assertTrue(ObjectConverterRegistry.isSupported(Short.valueOf("1"))); assertTrue(ObjectConverterRegistry.isSupported(1.0f)); assertTrue(ObjectConverterRegistry.isSupported(1.0)); assertTrue(ObjectConverterRegistry.isSupported(Integer.class)); assertFalse(ObjectConverterRegistry.isSupported(new Object())); assertFalse(ObjectConverterRegistry.isSupported(new SampleBean("test"))); ObjectConverterRegistry.register(SampleBean.class, new TypeConverter<SampleBean>(SampleBean.class)); assertTrue(ObjectConverterRegistry.isSupported(new SampleBean("test"))); }
public static boolean isSupported(Object obj) { return REGISTRY.isClassSupported(obj); }
ObjectConverterRegistry { public static boolean isSupported(Object obj) { return REGISTRY.isClassSupported(obj); } }
ObjectConverterRegistry { public static boolean isSupported(Object obj) { return REGISTRY.isClassSupported(obj); }  }
ObjectConverterRegistry { public static boolean isSupported(Object obj) { return REGISTRY.isClassSupported(obj); }  static void register(Class clazz, ObjectConverter converter); static boolean isSupported(Object obj); static String convertToString(Object obj); static String convertToString(Object obj, Class forceClass); static Object convertToObject(String className, String strValue); }
ObjectConverterRegistry { public static boolean isSupported(Object obj) { return REGISTRY.isClassSupported(obj); }  static void register(Class clazz, ObjectConverter converter); static boolean isSupported(Object obj); static String convertToString(Object obj); static String convertToString(Object obj, Class forceClass); static Object convertToObject(String className, String strValue);  }