This should never have been put into the URE interface. Do not call it from client code. Also, this functionality is not needed for passively registered components, only for actively registered legacy ones.
This is a confusing overload with unexpectedly different semantics from the one-parameter form, so it is marked as deprecated. Practically all uses compare the return value against zero and can thus be replaced with uses of startsWith.