jcabi/jcabi-aspects

How is the custom MethodLogger.instanceOf better than Class.isAssignableFrom?

mamuf opened this issue · 2 comments

mamuf commented

Hi, we use this library in our company's projects and I am just wondering why you do not use the Class.isAssignableFrom method instead? What are the reasons for this custom code? Thanks!

I have dug through the git blame and related issues but didn't find any hints.

The code:

private static boolean instanceOf(final Class<?> child,

0crat commented

@yegor256 please, pay attention to this issue

@mamuf no idea :) Try to refactor and run the build. If nothing breaks, submit a pull request.