declare namespace java {
    namespace awt {
        namespace peer {
            // @ts-ignore
            interface ButtonPeer {
                /**
                 * Sets the label that is displayed on the button. Can be {@code null}
                 * when the button should not display a label.
                 */
                // @ts-ignore
                 setLabel(label: string): void;
            }
        }
    }
}
