declare namespace java {
    namespace lang {
        // @ts-ignore
         class InstantiationError extends java.lang.IncompatibleClassChangeError {
            /**
             * Constructs a new instance of this class with its
             * walkback filled in.
             */
            // @ts-ignore
            constructor()
            /**
             * Constructs a new instance of this class with its
             * walkback and message filled in.
             */
            // @ts-ignore
            constructor(detailMessage: string)
        }
    }
}
