WebComponentBinding implements Serializable { public Class<? extends Serializable> getPropertyType(String propertyName) { if (hasProperty(propertyName)) { return properties.get(propertyName).getType(); } return null; } WebComponentBinding(C component); void updateProperty(String propertyName, Serializable value); void updateProperty(String propertyName, JsonValue jsonValue); C getComponent(); Class<? extends Serializable> getPropertyType(String propertyName); boolean hasProperty(String propertyName); void updatePropertiesToComponent(); void bindProperty(
            PropertyConfigurationImpl<C, ? extends Serializable> propertyConfiguration,
            boolean overrideDefault, JsonValue startingValue);  }
@Test public void getPropertyType() { Assert.assertEquals(Integer.class, binding.getPropertyType("int")); Assert.assertEquals(JsonValue.class, binding.getPropertyType("json")); Assert.assertNull(binding.getPropertyType("not-a-property")); }