Class StaticConstructorSuppressExtractorImpl
java.lang.Object
org.powermock.tests.utils.impl.AbstractTestClassExtractor
org.powermock.tests.utils.impl.StaticConstructorSuppressExtractorImpl
- All Implemented Interfaces:
TestClassesExtractor
Implementation of the
TestClassesExtractor interface for classes that
should have their static initializers suppressed.-
Field Summary
Fields inherited from class AbstractTestClassExtractor
includeMethods -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getClassesToModify(AnnotatedElement element) Get the fully qualified names for classes that must should be modified for thiselement.Methods inherited from class AbstractTestClassExtractor
getTestClasses, isPrepared
-
Constructor Details
-
StaticConstructorSuppressExtractorImpl
public StaticConstructorSuppressExtractorImpl()
-
-
Method Details
-
getClassesToModify
Description copied from class:AbstractTestClassExtractorGet the fully qualified names for classes that must should be modified for thiselement.- Specified by:
getClassesToModifyin classAbstractTestClassExtractor- Parameters:
element- The element that may contain info regarding which classes that must be modified by PowerMock.- Returns:
- An array of fully-qualified names to classes that must be
modified by PowerMock for the specific
element.
-