Detect redefined methods also in java.lang.Object