declare namespace java {
    namespace awt {
        // @ts-ignore
        interface PrintGraphics {
            /**
             * Returns the PrintJob object from which this PrintGraphics
             * object originated.
             */
            // @ts-ignore
             getPrintJob(): java.awt.PrintJob;
        }
    }
}
