declare namespace java {
    namespace util {
        namespace concurrent {
            namespace ThreadPoolExecutor {
                // @ts-ignore
                 class DiscardPolicy extends java.lang.Object {
                    /**
                     * Creates a {@code DiscardPolicy}.
                     */
                    // @ts-ignore
                    constructor()
                    /**
                     * Does nothing, which has the effect of discarding task r.
                     */
                    // @ts-ignore
                    public rejectedExecution(r: java.lang.Runnable, e: java.util.concurrent.ThreadPoolExecutor): void;
                }
            }
        }
    }
}
