I tried to create TestSuite in JavaPoet api. I have List with my junit classes in testClasses, so i want to add member annotation but addmember allow us to add only one object at time, so how i can add All list?
.addAnnotation(AnnotationSpec.builder(SuiteClasses.class)
.addMember("value", "$T.class", testClasses.toArray()).build())