extract method detector is ok