> This page is for SDKs, version Legacy.
> For other versions, use one of these documentation indexes:
> - Current (default): https://buildwithfern.com/learn/sdks/current/llms.txt
> - Legacy: https://buildwithfern.com/learn/sdks/legacy/llms.txt

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. For task-scoped instructions for coding agents working in a Fern project, see https://buildwithfern.com/learn/home/fern-instructions.md.

## 4.37.3

**`(fix):`** Discriminated union wrapper classes now annotate `equals`, `hashCode` and `toString` with
`@java.lang.Override`, matching the other generated types. Previously the bare `@Override` failed to
compile when the API defined a type named `Override` in the same package
(`incompatible types: Override cannot be converted to Annotation`).