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 the TestClassesExtractor interface for classes that should have their static initializers suppressed.
  • Constructor Details

    • StaticConstructorSuppressExtractorImpl

      public StaticConstructorSuppressExtractorImpl()
  • Method Details

    • getClassesToModify

      public String[] getClassesToModify(AnnotatedElement element)
      Get the fully qualified names for classes that must should be modified for this element.
      Specified by:
      getClassesToModify in class AbstractTestClassExtractor
      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.