The Wayback Machine - http://web.archive.org/web/20220120095239/https://github.com/google/auto/
Skip to content
master
Switch branches/tags
Code

Latest commit

…ity.

JavaBeans specifies that a method called getHTMLPage defines a property called HTMLPage, rather than hTMLPage as its regular decapitalization would suggest.  This is almost never what you want in practice but it's probably too late for us to stop following that rule. We've relaxed the matching in a number of places, so for example if your getter is getOAuth() then your setter can be oAuth(x).  Here we're extending that courtesy to property builders. If your AutoValue has a method `ImmutableList<String> getOAuths()` then its builder can continue to have a property builder `ImmutableList.Builder<String> OAuthsBuilder()`, but with this change that method can also be `ImmutableList.Builder<String> oAuthsBuilder()`.

(This change is probably too minor to go in the release notes.)

RELNOTES=n/a
PiperOrigin-RevId: 421830872
15ff83a

Git stats

Files

Permalink
Failed to load latest commit information.

Auto

Build Status

A collection of source code generators for Java.

Auto‽

Java is full of code that is mechanical, repetitive, typically untested and sometimes the source of subtle bugs. Sounds like a job for robots!

The Auto subprojects are a collection of code generators that automate those types of tasks. They create the code you would have written, but without the bugs.

Save time. Save code. Save sanity.

Subprojects

License

Copyright 2013 Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.