void (Location location, List<String> strings) { if (location instanceof PsiMemberParameterizedLocation) { final String paramSetName = ((PsiMemberParameterizedLocation)location).getParamSetName(); if (paramSetName != null) { strings.add(TestNGConfigurationProducer.getInvocationNumber(paramSetName)); } } }