commit | 79c9d15c14a898e1ae2085f265a5396b190d7017 | [log] [tgz] |
---|---|---|
author | martinsimpson <martinsimpson@google.com> | Tue Oct 29 10:11:34 2019 -0700 |
committer | David P. Baker <dpb@google.com> | Wed Oct 30 09:46:43 2019 -0400 |
tree | 22b031c8f2314e8366c7af35f1d1d408274248f5 | |
parent | 6c2c1a3ff8d2abc74755dfe18c07fa60ee1c7733 [diff] |
Improved AutoFactory error message RELNOTES=Better error message for failed factory write. One known cause of this error is using an impl class name that is the same as the declared interface (in which case this new message will tell you that you are attempting to recreate an existing file name). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=277308587
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 1.6+.
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.