Package org.powermock.tests.utils.impl
Class PowerMockIgnorePackagesExtractorImpl
java.lang.Object
org.powermock.tests.utils.impl.PowerMockIgnorePackagesExtractorImpl
- All Implemented Interfaces:
IgnorePackagesExtractor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate String[]
addGlobalIgnore
(String[] packageToIgnore, String[] globalIgnore) private boolean
addValueFromAnnotation
(AnnotatedElement element, Set<String> ignoredPackages) private boolean
addValuesFromSuperclass
(Class<?> element, Set<String> ignoredPackages) private boolean
extractPackageToIgnore
(AnnotatedElement element, Set<String> ignoredPackages) private String[]
String[]
getPackagesToIgnore
(AnnotatedElement element) private String[]
getPackageToIgnoreWithGlobal
(String[] packageToIgnore)
-
Constructor Details
-
PowerMockIgnorePackagesExtractorImpl
public PowerMockIgnorePackagesExtractorImpl()
-
-
Method Details
-
getPackagesToIgnore
- Specified by:
getPackagesToIgnore
in interfaceIgnorePackagesExtractor
- Returns:
- Returns a string-array of all package names if annotation was found.
-
getPackageToIgnoreWithGlobal
-
getGlobalIgnore
-
extractPackageToIgnore
-
addValuesFromSuperclass
-
addValueFromAnnotation
-
addGlobalIgnore
-