Your existing check algorithm is already complex anyways. ![]()
My guess is that using Class::getMethod() and then iterating over your stored Method objects calling equals() won’t be any slower than what you’ve already got. ![]()
And add to that the bonus of significantly cutting off a lot of the size of your big code. ![]()