public class CommandSerializationUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
CommandSerializationUtil.Accessor
Defines methods for getting and setting fields.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <T> T |
allocateInstance(java.lang.Class<T> clazz)
TODO: In the future it may be preferable to use a custom ClassLoader to
inject a constructor that will initialize all of the final fields that we
care about.
|
static CommandSerializationUtil.Accessor |
getAccessor(java.lang.Class<?> clazz) |
public static CommandSerializationUtil.Accessor getAccessor(java.lang.Class<?> clazz)
static <T> T allocateInstance(java.lang.Class<T> clazz) throws java.lang.InstantiationException
java.lang.InstantiationException