commit | dec3bf0ec7b72d9cec9f92b497570bc46590a65d | [log] [tgz] |
---|---|---|
author | Brad Corso <bcorso@google.com> | Thu Jun 03 07:52:09 2021 -0700 |
committer | Google Java Core Libraries <java-libraries-firehose+copybara@google.com> | Thu Jun 03 07:52:41 2021 -0700 |
tree | fc5e1899e1790e949336c81d0f29cd042fd57063 | |
parent | 57fdeb9996af4b19466701cac5a69e917abf249e [diff] |
Add String and TypeElement versions of auto-common APIs that currently take in Class. These changes continue the effort to move away from referencing classes from the user API directly in processors, which can cause issues especially with Android dependencies. Note: I decided not to do anything with isTypeOf yet because I'm not sure of a great way to support that. RELNOTES=Add String and TypeElement versions of auto-common APIs that currently take in Class. PiperOrigin-RevId: 377287397
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.