code: public static final <T extends UIObject> void removeAnimationOnEnd(final T widget, final String animation) {
          if (widget != null && animation != null) {
              removeAnimationOnEnd(widget.getElement(), animation);
          }
      }
docs: Removes custom animation class on animation end.
  
  @param widget Element to remove style from.
  @param animation Animation CSS class to remove.