For overriding methods in child class, one use `override` modifier to get compiler checks and it can be added automatically using:
```
make CONF=debug compile-commands-hotspot; clang-tidy --fix -checks=modernize-use-override -p build/linux-x64-debug <file>
```
```
make CONF=debug compile-commands-hotspot; clang-tidy --fix -checks=modernize-use-override -p build/linux-x64-debug <file>
```