Interface Unsafe

    • Field Detail

      • theUnsafe

        static final Unsafe theUnsafe
    • Method Detail

      • allocateInstance

        java.lang.Object allocateInstance​(java.lang.Class<?> cls)
                                   throws java.lang.InstantiationException
        Allocate an instance but do not run any constructor. Initializes the class if it has not yet been.
        Throws:
        java.lang.InstantiationException