Package org.mockito.internal
Class PremainAttach
java.lang.Object
org.mockito.internal.PremainAttach
Allows users to specify Mockito as a Java agent where the
Instrumentation
instance is stored for use by the inline mock maker.
The JEP 451, delivered with JDK 21,
is the first milestone to disallow dynamic loading of by default which will happen
in a future version of the JDK.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Instrumentation
static void
premain
(String arg, Instrumentation instrumentation)
-
Constructor Details
-
PremainAttach
public PremainAttach()
-
-
Method Details
-
premain
-
getInstrumentation
-