About `@SuppressWarnings("serial")`, it is to tell compiler to ignore the warning of `missing serial ID`.

This warning is because `HashMap` implements `Serializable`. The double brace initialization here is actually creating a subclass of `HashMap`, which is a  `Serializable` class, so the compiler will suggest you provide a serial ID here, which we don't need in our case.