List<Integer> () { IClass testClass = myResult.getTestClass(); if (testClass == null) return null; XmlClass xmlClass = testClass.getXmlClass(); if (xmlClass == null) return null; List<XmlInclude> includedMethods = xmlClass.getIncludedMethods(); if (includedMethods.isEmpty()) return null; return includedMethods.get(0).getInvocationNumbers(); }