public void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; this . VAR_2 = ( ( TYPE_2 ) ( getActivity ( ) ) ) . METHOD_2 ( ) ; }
public void METHOD_1 ( TYPE_1 VAR_1 ) { super . METHOD_1 ( VAR_1 ) ; if ( ( getActivity ( ) ) instanceof TYPE_2 ) { this . VAR_2 = ( ( TYPE_2 ) ( getActivity ( ) ) ) . METHOD_2 ( ) ; } else { } }