This method matches using reference equality (==), rather than
the InterceptedMethod.matches() method, so to remove an object
the exact object should first be obtained from this container, rather
than creating a new InterceptedMethod with the same values.