### Question:
BeanBinding extends AbstractBinding<Object> implements Serializable { @Override public <T> T get(Object candidate, String xpath, Class<T> target) throws IllegalArgumentException { if((xpath==null || xpath.isEmpty()) &&Geometry.class.isAssignableFrom(target)){ xpath = "geometry"; } if(candidate==null) return null; try { final BeanInfo info = Introspector.getBeanInfo(candidate.getClass()); final PropertyDescriptor[] descs = info.getPropertyDescriptors(); if(descs==null)return null; for(PropertyDescriptor d : descs){ if(d.getName().equalsIgnoreCase(xpath)) { final Method readMethod = d.getReadMethod(); if (readMethod == null) return null; Object o = readMethod.invoke(candidate); if (o == null || target == null || target.isInstance(o)) { return (T) o; } else { return ObjectConverters.convert(o, target); } } } return null; } catch (IntrospectionException | ReflectiveOperationException ex) { throw new IllegalStateException(ex); } } BeanBinding(); @Override boolean support(String xpath); @Override T get(Object candidate, String xpath, Class<T> target); @Override void set(Object candidate, String xpath, Object value);  }### Answer:
@Test public void testGetter(){ final Person person = new Person(45,"marcel",true); final Binding binding = Bindings.getBinding(Person.class, "age"); assertNotNull(binding); assertEquals(Integer.valueOf(45), binding.get(person, "age", Object.class)); assertEquals("marcel", binding.get(person, "name", Object.class)); assertEquals(true, binding.get(person, "human", Object.class)); assertEquals("45", binding.get(person, "age", String.class)); }