@Test public void testArray() { Properties prop = new Properties(); prop.setProperty("f1", "1"); prop.setProperty("f2", "2"); prop.setProperty("f3", "3,1"); Binder binder = new Binder(() -> prop); Obj obj = binder.bind(Obj.class); Assert.assertNotNull(obj.f3); Assert.assertEquals(2, obj.f3.length); Assert.assertEquals(new Integer(3), obj.f3[0]); }
public <T> T bind(Class<T> clazz) { return bind(clazz, Strings.DOT); }
Binder { public <T> T bind(Class<T> clazz) { return bind(clazz, Strings.DOT); } }
Binder { public <T> T bind(Class<T> clazz) { return bind(clazz, Strings.DOT); }  }
Binder { public <T> T bind(Class<T> clazz) { return bind(clazz, Strings.DOT); }  T bind(Class<T> clazz); T bind(Class<T> clazz, String prefix); T bind(T obj, String prefix); }
Binder { public <T> T bind(Class<T> clazz) { return bind(clazz, Strings.DOT); }  T bind(Class<T> clazz); T bind(Class<T> clazz, String prefix); T bind(T obj, String prefix);  }