fixed detection of protected methods in APIScope