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