code: public static void register(Class<? extends View> clazz) {
          if (clazz != null) {
              register(clazz.getSimpleName(), clazz.getName());
          }
      }
docs: Fast mapping views by name<br />
  <br />
  MyView -> com.myapppackage.widget.MyView<br />