declare namespace java {
    namespace io {
        // @ts-ignore
        interface ObjectInputValidation {
            /**
             * Validates the object.
             */
            // @ts-ignore
             validateObject(): void;
        }
    }
}
