declare namespace java {
    namespace lang {
        namespace annotation {
            // @ts-ignore
             class AnnotationFormatError extends java.lang.Error {
                /**
                 * Constructs a new <tt>AnnotationFormatError</tt> with the specified
                 * detail message.
                 */
                // @ts-ignore
                constructor(message: string)
                /**
                 * Constructs a new <tt>AnnotationFormatError</tt> with the specified
                 * detail message and cause.  Note that the detail message associated
                 * with <code>cause</code> is <i>not</i> automatically incorporated in
                 * this error's detail message.
                 */
                // @ts-ignore
                constructor(message: string, cause: java.lang.Throwable)
                /**
                 * Constructs a new <tt>AnnotationFormatError</tt> with the specified
                 * cause and a detail message of
                 * <tt>(cause == null ? null : cause.toString())</tt> (which
                 * typically contains the class and detail message of <tt>cause</tt>).
                 */
                // @ts-ignore
                constructor(cause: java.lang.Throwable)
            }
        }
    }
}
