Package org.stianloader.smatterdi
Class CDObjectAllocator
java.lang.Object
org.stianloader.smatterdi.CDObjectAllocator
- All Implemented Interfaces:
ObjectAllocator
Implementation of the
ObjectAllocator interface using
CafeDude to define wrapper classes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Tallocate(Class<T> type, InjectionContext injectCtx, Object... args) abstract Class<?>defineClass(String className, byte[] data, Class<?> superClass)
-
Constructor Details
-
CDObjectAllocator
public CDObjectAllocator()
-
-
Method Details
-
allocate
@NotNull public <T> T allocate(@NotNull Class<T> type, @NotNull InjectionContext injectCtx, Object... args) - Specified by:
allocatein interfaceObjectAllocator
-
defineClass
-