LPS-30322 "private static class .*Key" does not need the instanceof for ...

...performance reason, don't copy this pattern to public hash key classes, source formatter checking will be added for this.