I am extending
AbstractMethodDetection and in
getMethodInvocationMatchers() I have:
return Arrays.asList(MethodMatcher.create() .typeDefinition(TypeCriteria.anyType()) .name("equals") .withAnyParameters());
I wrote this for testing purposes because it wasn’t finding my methods.
I have found that this line hits on something like
java.lang.String calls to
equals(Object), but not on for example,
org.apache.hadoop.io.Text calls to
Any idea what is going on here?