public static <T extends MethodDescription> ElementMatcher.Junction<T> isEquals() {
        return named("equals").and(takesArguments(TypeDescription.OBJECT)).and(returns(boolean.class));
    }
public static < T extends MethodDescription > ElementMatcher . Junction < T > isEquals ( ) { return named ( "equals" ) . and ( takesArguments ( TypeDescription . OBJECT ) ) . and ( returns ( boolean . class ) ) ; }
Only matches the {@link Object#equals(Object)} method, also if it was overridden.

@param <T> The type of the matched object.
@return A matcher that only matches the {@link Object#equals(Object)} method.