Package org.powermock.tests.utils.impl
Class StaticConstructorSuppressExtractorImpl
- java.lang.Object
-
- org.powermock.tests.utils.impl.AbstractTestClassExtractor
-
- org.powermock.tests.utils.impl.StaticConstructorSuppressExtractorImpl
-
- All Implemented Interfaces:
TestClassesExtractor
public class StaticConstructorSuppressExtractorImpl extends AbstractTestClassExtractor
Implementation of theTestClassesExtractor
interface for classes that should have their static initializers suppressed.
-
-
Field Summary
-
Fields inherited from class org.powermock.tests.utils.impl.AbstractTestClassExtractor
includeMethods
-
-
Constructor Summary
Constructors Constructor Description StaticConstructorSuppressExtractorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
getClassesToModify(java.lang.reflect.AnnotatedElement element)
Get the fully qualified names for classes that must should be modified for thiselement
.-
Methods inherited from class org.powermock.tests.utils.impl.AbstractTestClassExtractor
getTestClasses, isPrepared
-
-
-
-
Method Detail
-
getClassesToModify
public java.lang.String[] getClassesToModify(java.lang.reflect.AnnotatedElement element)
Get the fully qualified names for classes that must should be modified for thiselement
.- Specified by:
getClassesToModify
in 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
.
-
-