Perhaps the issue is, that static method provides a service outside the immediate scope of the cache provider. As such it could theoretically be part of its own class, which is instantiated and then GC'ed all within the context of that constructor. That might be overkill, to separate out that one validation into its own class, but does that address your concern?