declare namespace java {
    namespace lang {
        // @ts-ignore
         class IllegalAccessError extends java.lang.IncompatibleClassChangeError {
            /**
             * Constructs an <code>IllegalAccessError</code> with no detail message.
             */
            // @ts-ignore
            constructor()
            /**
             * Constructs an <code>IllegalAccessError</code> with the specified
             * detail message.
             */
            // @ts-ignore
            constructor(s: string)
        }
    }
}
