Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I handle collections with @thymesVar?

If I have:

<!--/*@thymesVar id="someCollection" type="java.util.List"*/-->

How would I specify the type of objects in the collection?

I don't see anything on SO or the Idea docs about it.

like image 647
vphilipnyc Avatar asked Jan 29 '18 23:01

vphilipnyc


1 Answers

Oh, it's as simple as specifying the class in the declaration:

<!--/*@thymesVar id="someCollection" type="java.util.List<com.domain.my.Bean>"*/-->

like image 119
vphilipnyc Avatar answered Nov 02 '22 10:11

vphilipnyc