@SuppressWarnings("unchecked") public void input4() { // tag::input4[] NumericProperty<Integer> MY_PROPERTY = NumericProperty.integerType("my_property"); // <1> Input<Integer> input = Input.create(MY_PROPERTY); // <2> Input<Integer> viewComponent = MY_PROPERTY.render(Input.class); // <3> // end::input4[] }