commit | 0076afb3825bd4d3b7ab77310855c2cc4a05813e | [log] [tgz] |
---|---|---|
author | Éamonn McManus <emcmanus@google.com> | Sat Apr 03 08:29:01 2021 -0700 |
committer | Google Java Core Libraries <java-libraries-firehose+copybara@google.com> | Sat Apr 03 08:29:35 2021 -0700 |
tree | d1771828afffccb2f0e4bb9f552de943a060135b | |
parent | 40f3039a66b58cccafd6d1ec1343be3c9023864b [diff] |
Initial prototype of `@AutoBuilder`. This is not ready for use yet. For now, it only supports constructor invocation, not static methods; it does not handle overloads correctly (it requires there to be a maximal constructor and uses that); it has problems with case when getters have names like `getAString`. There are other problems. RELNOTES=n/a PiperOrigin-RevId: 366603722
A collection of source code generators for Java.
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.
AutoFactory - JSR-330-compatible factories
AutoService - Provider-configuration files for ServiceLoader
AutoValue - Immutable value-type code generation for Java 7+.
Common - Helper utilities for writing annotation processors.
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.