class TypeCachingBytecodeGenerator extends java.lang.ref.ReferenceQueue<java.lang.ClassLoader> implements BytecodeGenerator
Modifier and Type | Class and Description |
---|---|
private static class |
TypeCachingBytecodeGenerator.MockitoMockKey |
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
BOOTSTRAP_LOCK |
private BytecodeGenerator |
bytecodeGenerator |
private net.bytebuddy.TypeCache<TypeCachingBytecodeGenerator.MockitoMockKey> |
typeCache |
Constructor and Description |
---|
TypeCachingBytecodeGenerator(BytecodeGenerator bytecodeGenerator,
boolean weak) |
Modifier and Type | Method and Description |
---|---|
<T> java.lang.Class<T> |
mockClass(MockFeatures<T> params) |
private final java.lang.Object BOOTSTRAP_LOCK
private final BytecodeGenerator bytecodeGenerator
private final net.bytebuddy.TypeCache<TypeCachingBytecodeGenerator.MockitoMockKey> typeCache
public TypeCachingBytecodeGenerator(BytecodeGenerator bytecodeGenerator, boolean weak)
public <T> java.lang.Class<T> mockClass(MockFeatures<T> params)
mockClass
in interface BytecodeGenerator