public class Plugins
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static PluginRegistry |
registry |
Constructor and Description |
---|
Plugins() |
Modifier and Type | Method and Description |
---|---|
static AnnotationEngine |
getAnnotationEngine()
Returns the annotation engine available for the current runtime.
|
static InstantiatorProvider2 |
getInstantiatorProvider()
Returns the instantiator provider available for the current runtime.
|
static MockMaker |
getMockMaker()
Returns the implementation of the mock maker available for the current runtime.
|
static MockitoPlugins |
getPlugins() |
static StackTraceCleanerProvider |
getStackTraceCleanerProvider()
The implementation of the stack trace cleaner
|
private static final PluginRegistry registry
public static StackTraceCleanerProvider getStackTraceCleanerProvider()
public static MockMaker getMockMaker()
Returns default mock maker if no
MockMaker
extension exists or is visible in the current classpath.
public static InstantiatorProvider2 getInstantiatorProvider()
Returns DefaultInstantiatorProvider
if no
InstantiatorProvider2
extension exists or is visible in the
current classpath.
public static AnnotationEngine getAnnotationEngine()
Returns InjectingAnnotationEngine
if no
AnnotationEngine
extension exists or is visible in the current classpath.
public static MockitoPlugins getPlugins()