Package mockit.internal.capturing
Class CaptureTransformer<M>
java.lang.Object
mockit.internal.capturing.CaptureTransformer<M>
- All Implemented Interfaces:
ClassFileTransformer
-
Method Summary
Modifier and TypeMethodDescriptionboolean
areCapturedClasses
(Class<?> mockedClass1, Class<?> mockedClass2) void
<C extends CaptureOfImplementations<?>>
CgetCaptureOfImplementationsIfApplicable
(Class<?> aType) byte[]
transform
(ClassLoader loader, String classDesc, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.instrument.ClassFileTransformer
transform
-
Method Details
-
deactivate
public void deactivate() -
transform
@Nullable public byte[] transform(@Nullable ClassLoader loader, @NonNull String classDesc, @Nullable Class<?> classBeingRedefined, @Nullable ProtectionDomain protectionDomain, @NonNull byte[] classfileBuffer) - Specified by:
transform
in interfaceClassFileTransformer
-
getCaptureOfImplementationsIfApplicable
@Nullable public <C extends CaptureOfImplementations<?>> C getCaptureOfImplementationsIfApplicable(@NonNull Class<?> aType) -
areCapturedClasses
-