Detecting of whether a Class has particular method could have a fastpath for the case when the method is declared directly in that class. When we have an instance of Method then we could first check its declaring class and only then go through conventional path involving heavy usage of reflection.