Fixed #19879 have 'findstatic' say where it is searching

Changed approach. Now it wont break any tests.