wrml/wrml-prototype — comment on commit f6093e2e7d10eab61e8207d12fc7b5026750b905
File:  line 0
By markmasse:

For now I have the Field class and its related classes (including events and listeners) as generics. Meaning that the signatures related to Field's value use generic type "T" instead of Object. So there would be concrete classes (and maybe non-generic interfaces too) that fill in T with a type like String. For example TextField extends Field. Not sure if that is the cleanest way to go or if it adds much value but it felt better to me than having untyped Object used all over the place.