It would be better to generate the following pattern to avoid compiler warnings (in particular, warnings produced by `-Xlint:serial`):

```java
public static final Map<String, String> options;
static {
  options = new HashMap<String, String>();
  options.put("key", "value");
  ...
}
```