public void METHOD_1 ( TYPE_1 < ? > VAR_1 , android.view.View view , int position , long id ) { if ( position == 0 ) { METHOD_2 ( 1 ) ; } else if ( position == ( ( VAR_2 . size ( ) ) - 1 ) ) { METHOD_3 ( ) ; } else { METHOD_4 ( VAR_3 . get ( position ) . getId ( ) ) ; } }

public void METHOD_1 ( TYPE_1 < ? > VAR_1 , android.view.View view , int position , long id ) { if ( position == 0 ) { METHOD_2 ( 1 ) ; } else if ( position == ( ( VAR_2 . size ( ) ) - 1 ) ) { METHOD_3 ( ) ; } else { METHOD_4 ( VAR_3 . get ( position ) . getId ( ) , null ) ; } }
