public class PowerMockIgnorePackagesExtractorImpl implements IgnorePackagesExtractor {
public String[] getPackagesToIgnore(AnnotatedElement element) {
List<String> ignoredPackages = new LinkedList<String>();
PowerMockIgnore annotation = element.getAnnotation(PowerMockIgnore.class);
if (annotation != null) {
String[] ignores = annotation.value();
for (String ignorePackage : ignores) {
ignoredPackages.add(ignorePackage);
}
}
if (element instanceof Class<?>) {