问题
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.
回答1:
Oh, it's as simple as specifying the class in the declaration:
<!--/*@thymesVar id="someCollection" type="java.util.List<com.domain.my.Bean>"*/-->
来源:https://stackoverflow.com/questions/48511677/how-do-i-handle-collections-with-thymesvar