transform the baseActivity to annotation