@Test public void testBind1() { Binder binder = new Binder(BinderTest::props); Obj obj = new Obj(); obj.f1 = "8"; obj.f2 = "9"; binder.bind(obj, "lc"); Assert.assertEquals("4", obj.f1); Assert.assertEquals("3", obj.f2); Obj obj1 = new Obj(); obj1.f1 = "8"; obj1.f2 = "9"; binder.bind(obj1, "rp"); Assert.assertEquals("6", obj1.f1); Assert.assertEquals("3", obj1.f2); }
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);  }