com.google.gwt.rpc.server

## Class CommandSerializationUtil

- java.lang.Object
- - com.google.gwt.rpc.server.CommandSerializationUtil

-     public class CommandSerializationUtil
      extends java.lang.Object

  Contains common utility code.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static interface` | `CommandSerializationUtil.Accessor` Defines methods for getting and setting fields.

  - ### Method Summary

    Methods
    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)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getAccessor

          public static CommandSerializationUtil.Accessor getAccessor(java.lang.Class<?> clazz)

    - #### allocateInstance

          static <T> T allocateInstance(java.lang.Class<T> clazz)
                             throws java.lang.InstantiationException

      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.
      Throws:
        `java.lang.InstantiationException`