public static BubbleActions on(View view){
  View rootView=view.getRootView();
  if (rootView == null) {
    throw new IllegalArgumentException("View argument must have a root view.");
  }
  if (!(rootView instanceof ViewGroup)) {
    throw new IllegalArgumentException("View argument must have a ViewGroup root view");
  }
  return new BubbleActions((ViewGroup)rootView);
}

public static BubbleActions on ( View view ) { View rootView = view . getRootView ( ) ; if ( rootView == null ) { throw new IllegalArgumentException ( "View argument must have a root view." ) ; } if ( ! ( rootView instanceof ViewGroup ) ) { throw new IllegalArgumentException ( "View argument must have a ViewGroup root view" ) ; } return new BubbleActions ( ( ViewGroup ) rootView ) ; }
open up bubbleactions on a view .
