declare namespace java {
    namespace util {
        namespace concurrent {
            namespace ThreadPoolExecutor {
                // @ts-ignore
                 class AbortPolicy extends java.lang.Object {
                    /**
                     * Creates an {@code AbortPolicy}.
                     */
                    // @ts-ignore
                    constructor()
                    /**
                     * Always throws RejectedExecutionException.
                     */
                    // @ts-ignore
                    public rejectedExecution(r: java.lang.Runnable, e: java.util.concurrent.ThreadPoolExecutor): void;
                }
            }
        }
    }
}
