AutoValue 1.7rc1
Pre-release
Pre-release
- Add an API to allow AutoValue extensions to find out about builders. (86f4563)
- The generated AutoValue builder class is no longer final if there are extensions generating code. This means that extensions can subclass
Builder
to modify or extend its functionality. (49fbf55) - Property builders now work correctly when their actual return type is different from the corresponding property type because of type variable substitution. (7646889)
- Allow
@AutoValue
getters to define properties that are not valid Java identifiers, for exampleget1st()
. (6dfa04e) - Add a
propertyTypes()
method toAutoValueExtension.Context
, to allow extensions to see the true type of every property. In preference toproperties().get(p).getReturnType()
, extensions should usepropertyTypes().get(p)
. (99ae134)