When does folder.getMessages() get the messages?

Christopher Koenigsberg

The JavaDoc for folder.getMessages says:

....Folder implementations are expected to provide light-weight Message objects, which get filled on demand. .....

And in the JavaDoc for Message it says:

A Message object obtained from a folder is just a lightweight reference to the actual message. The Message is 'lazily' filled up (on demand) when each item is requested from the message. Note that certain folder implementations may return Message objects that are pre-filled with certain user-specified items.