See an example of the generated Java code for SiteScriptModule here
@CheckReturnValue added to all "get" & "is" generated methods
@NotNull added to all generated return values known not to return a null value or when the parameter must not be null.
The diamond Operator is used to reduced the verbosity surrounding generics by having the compiler infer parameter types.
All field names constants are moved to the interface. These interfaces are shared with the generated GWT stubs and can be used remotely via the SOAP interface.