public static <T extends MethodDescription> ElementMatcher.Junction<T> isDefaultFinalizer() {
        return isFinalizer().and(isDeclaredBy(TypeDescription.OBJECT));
    }
public static < T extends MethodDescription > ElementMatcher . Junction < T > isDefaultFinalizer ( ) { return isFinalizer ( ) . and ( isDeclaredBy ( TypeDescription . OBJECT ) ) ; }
Only matches the {@link Object#finalize()} method if it was not overridden.

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