void (List<String> options) { TestData data = getConfiguration().getPersistantData(); if (TestType.METHOD.getType().equals(data.TEST_OBJECT) || TestType.CLASS.getType().equals(data.TEST_OBJECT)) { options.add(StringUtil.getPackageName(data.MAIN_CLASS_NAME)); } else if (TestType.PACKAGE.getType().equals(data.TEST_OBJECT)){ PsiPackage aPackage = JavaPsiFacade.getInstance(getConfiguration().getProject()).findPackage(data.PACKAGE_NAME); if (aPackage != null) { SourceScope sourceScope = data.getScope().getSourceScope(getConfiguration()); if (sourceScope != null) { collectSubPackages(options, aPackage, sourceScope.getGlobalSearchScope()); } } } }