No setItems method in ListSelect in vaadin 8?

Many documentations, such as the folowing,
says to use setItems method for adding items to ListSelect.
However, the vaadin 8.1.3 package and javadoc I just downloaded does seem to have this method.
What did I miss?
I tried to use ListSelect constructor with a HashSet of Strings, but the ListSelect showed up with nothing in it. Not obvious to me how to set captions for items in ListSelect in vaadin 8.

The setItems method is provided by HasItems and HasDataProvider interfaces. Some methods are implemented as default methods. ListSelect implements those interfaces.

Check these examples:

Based on your tip, my eclipse found the method after I imported package.

You’re welcomed