public void METHOD_1 ( TYPE_1 VAR_1 ) { ( ( TYPE_2 ) ( getActivity ( ) ) ) . METHOD_2 ( ) ; } 

public void METHOD_1 ( TYPE_1 VAR_1 ) { if ( ( getActivity ( ) ) != null ) { ( ( TYPE_2 ) ( getActivity ( ) ) ) . METHOD_2 ( ) ; } } 
