### Question:
ParameterBinding extends AbstractBinding<ParameterValueGroup> implements Serializable { @Override public <T> T get(ParameterValueGroup candidate, String xpath, Class<T> target) throws IllegalArgumentException { Object value = null; try{ GeneralParameterValue param = Parameters.getParameterOrGroup(candidate, xpath); if(param instanceof ParameterValue){ value = ((ParameterValue)param).getValue(); }else if(param instanceof ParameterValueGroup){ value = ((ParameterValueGroup)param).values(); } }catch(ParameterNotFoundException ex){ } if (target == null) { return (T) value; } return ObjectConverters.convert(value, target); } ParameterBinding(); @Override boolean support(String xpath); @Override T get(ParameterValueGroup candidate, String xpath, Class<T> target); @Override void set(ParameterValueGroup candidate, String xpath, Object value);  }### Answer:
@Test public void testGetter(){ final ParameterDescriptor p1 = new ParameterBuilder().addName("age").create(Integer.class, null); final ParameterDescriptor p2 = new ParameterBuilder().addName("name").create(String.class, null); final ParameterDescriptor p3 = new ParameterBuilder().addName("human").create(Boolean.class, null); final ParameterDescriptorGroup desc = new ParameterBuilder().addName("ele").createGroup(p1,p2,p3); final ParameterValueGroup param = desc.createValue(); param.parameter("age").setValue(45); param.parameter("name").setValue("marcel"); param.parameter("human").setValue(true); final Binding accessor = Bindings.getBinding(ParameterValueGroup.class, "age"); assertNotNull(accessor); assertEquals(Integer.valueOf(45), accessor.get(param, "age", Object.class)); assertEquals("marcel", accessor.get(param, "name", Object.class)); assertEquals(true, accessor.get(param, "human", Object.class)); assertEquals("45", accessor.get(param, "age", String.class)); }