Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

CustomField getType()

Marek Michalowski
7 years ago Dec 11, 2015 7:43am
Agata Vackova
7 years ago Dec 11, 2015 10:23am

Try to check all your imports for List. It's easy to accept a strange import hint from IDE ;-)

And, for me, works following getType method:

    public Class<? extends List<T>> getType() {
        Class clazz = List.class;
        return (Class<? extends List<T>>)clazz;


Marek Michalowski
7 years ago Dec 14, 2015 8:22am