declare namespace java {
    namespace awt {
        namespace peer {
            // @ts-ignore
            interface CheckboxMenuItemPeer {
                /**
                 * Sets the state of the checkbox to be checked {@code true} or
                 * unchecked {@code false}.
                 */
                // @ts-ignore
                 setState(state: boolean): void;
            }
        }
    }
}
