Skip to content

AutoValue 1.7rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@eamonnmcmanus eamonnmcmanus released this 01 Oct 00:29
  • 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 example get1st(). (6dfa04e)
  • Add a propertyTypes() method to AutoValueExtension.Context, to allow extensions to see the true type of every property. In preference to properties().get(p).getReturnType(), extensions should use propertyTypes().get(p). (99ae134)