register static method

void register()

Implementation

static void register() {
  UIComponent.registerGenerator(generator);
}