UnsafeAllocator
Date: 2016-11-03

com.google.gson.internal

## Class UnsafeAllocator

- java.lang.Object
- - com.google.gson.internal.UnsafeAllocator

-     public abstract class UnsafeAllocator
      extends java.lang.Object

  Do sneaky things to allocate objects without invoking their constructors.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UnsafeAllocator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static UnsafeAllocator` | `create()`
    `abstract <T> T` | `newInstance(java.lang.Class<T> c)`

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

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

- - ### Constructor Detail

    - #### UnsafeAllocator

          public UnsafeAllocator()

  - ### Method Detail

    - #### newInstance

          public abstract <T> T newInstance(java.lang.Class<T> c)
                                 throws java.lang.Exception

      Throws:
        `java.lang.Exception`

    - #### create

          public static UnsafeAllocator create()