Age | Commit message (Collapse) | Author |
|
6eabe1e8be
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1723293
Change-Id: I4b107c58ed1e365ac2bb4ec134b3a60b382a9bcf
|
|
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1723293
Change-Id: I756634c16cc2e6268ee183397d605f9f953e39b4
|
|
Bug: 180441353
Change-Id: I70ab3f5c5e32de1057f4a46f069127bc933e97da
|
|
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1719621
Change-Id: Ife9a83ea80d87083639c15fe04e16e33103d15e5
|
|
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1719621
Change-Id: If44d1e77a81825ab921c91a980ce394b1a923b4e
|
|
Bug: 180441353
Change-Id: I0ceb9e9f84453bf0d7676a199d8fcf9584697938
|
|
ours am: 4bb28a6d24 -s ours
am skip reason: Change-Id I76412ba138e6788c9a077d0bcc1aee915a38dc59 with SHA-1 ea98f5782e is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I314c683e8d2df07447fd6ccce5e23a4398e4310c
|
|
am skip reason: Change-Id I76412ba138e6788c9a077d0bcc1aee915a38dc59 with SHA-1 ea98f5782e is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia9da96392d0ee99b5d23654cd78fafc6bb67bf1a
|
|
Bug: 180401296
Merged-In: I76412ba138e6788c9a077d0bcc1aee915a38dc59
Change-Id: I1cf66d547baed46179d3f46718377bf7520230c5
|
|
am: 3e819175b8
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1588674
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id6f806ebdc60897f5a6b5642201887263c7fea1a
|
|
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1588674
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia86c7a7437ec7602677983b4493cc0cc22f1d394
|
|
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1588674
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I290a17489d24d6d65d849cb11c902cd6da24dd69
|
|
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
android-annotation-stubs/Android.bp
common/Android.bp
factory/Android.bp
service/Android.bp
value/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I213d1de311f7729ccee0ad86219ef1bfb4d944a9
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/auto/+/13110973
Change-Id: I5962d6c70781597aff20b917aff6c14f8c2d5636
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/auto/+/13110973
Change-Id: I76412ba138e6788c9a077d0bcc1aee915a38dc59
|
|
93638a83f4 am: 78b6306136
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1504431
Change-Id: Id45d049ae77ee2ec988c0a003a403018cc303b84
|
|
93638a83f4
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1504431
Change-Id: Icaa429e15c75f5a7ce91296cd12d7cd455ca69de
|
|
Bug: 172690556
Change-Id: Iff092f12d10d1048fa3696ef21554fb9facd6d90
|
|
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1504431
Change-Id: I9db6b019cad5a1efbac39f641e7c4773c3b3dafd
|
|
Bug: 173800389
Test: m checkbuild
Change-Id: I5ae96c22de7eb6e17f127bd49a0782f2aea86e21
|
|
|
|
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=325291991
|
|
constructor, and rewrite some code to use streams.
RELNOTES=Add javadoc for SuperficialValidation methods.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=323682147
|
|
RELNOTES=Fully Qualify @Override to avoid name conflicts
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=323461838
|
|
so it can be used from other internal code.
RELNOTES=Open SuperficialValidation#validateType(TypeMirror) to public visibility
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=323425711
|
|
correlated so that we can potentially see which ones are commonest.
RELNOTES=AutoValue error messages now have short `[tags]` so they can be correlated by tools.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=323252839
|
|
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=321258257
|
|
|
|
can find it on the classpath.
The @LazyInit annotation is added if it's found on the classpath (https://github.com/google/auto/blob/da84ef1fae38f2d72901c2b95674271e89600f28/value/src/main/java/com/google/auto/value/extension/memoized/processor/MemoizeExtension.java#L577) but shading rewrites the package at https://github.com/google/auto/blob/da84ef1fae38f2d72901c2b95674271e89600f28/value/src/main/java/com/google/auto/value/extension/memoized/processor/MemoizeExtension.java#L104 from "com.google.errorprone.annotations.concurrent" to "autovalue.shaded.com.google$.errorprone.annotations.$concurrent" (you can verify this by disassembling the bytecode for MemoizeExtension.class in the release JAR). This means that even with the Error Prone annotations on the classpath, it won't be able to find the LazyInit annotation.
Splitting up the package with a call to String#concat means Maven will no longer rewrite it, so AutoValue will be able to find the LazyInit annotation on the classpath if it's there.
Fixes https://github.com/google/auto/issues/427
RELNOTES=Stop the LazyInit annotation from getting shaded by Maven, so that AutoValue can find it on the classpath.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=320196133
|
|
`setFoo(@Nullable T)` setters.
Previously calling `setFoo(null)` resulted in the property being set to `null`, even though for `Optional<T> foo()` (without `@Nullable`) it would set the property to `Optional.empty()`. With this change, it is set to `Optional.empty()` whether or not it is `@Nullable`.
RELNOTES=Fixed handling of `@Nullable Optional<T> foo()` properties being set by `setFoo(@Nullable T)` setters. Now `setFoo(null)` results in `Optional.empty()`, not `null`.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=320181666
|
|
RELNOTES=n/a
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=317148258
|
|
a5ab264b9d am: d889e5d6f3 am: e2369aacd7
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341935
Change-Id: Id15eeb9af5cf8aec92b8a2c5bd075521fac58b67
|
|
5b568db45f am: 807bfcbce5 am: 4d5925f9c0
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341934
Change-Id: I106fa50cbc1fdd7c29e4a57b4403d74882007877
|
|
a5ab264b9d am: d889e5d6f3
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341935
Change-Id: I9b9bd0ec8aef6071fdc4accd571e5776fc33598e
|
|
5b568db45f am: 807bfcbce5
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341934
Change-Id: Ie33c9d10848b5fd8ec186146728c71c32fe1fbb3
|
|
a5ab264b9d
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341935
Change-Id: Ic3c7498b0e9c4f0a657e348d5e17ba982fbcc829
|
|
5b568db45f
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341934
Change-Id: I3b48264a05b8d7ec2a6d4799d4e759d183662fb5
|
|
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341935
Change-Id: I21d8a0543fb8b16ae95deb229d6ffdfecdb3e59e
|
|
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341934
Change-Id: I8e3eac079e9595bc7dc18b8f9c9d15611085e5aa
|
|
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341935
Change-Id: I20f2a6386f31b5976d3d50c07a2da33354efef7e
|
|
Original change: https://android-review.googlesource.com/c/platform/external/auto/+/1341934
Change-Id: Ie00eca9d6c0c2f27708eef678c0e3b9f0bf90321
|
|
Add Android.bp files, stubs for unused annotations, METADATA file
and MODULE_LICENSE_APACHE2 file.
Bug: 158870037
Test: m checkbuild
Change-Id: Ibd9836e10c77c216af8d207c5347645e13cc2e3d
|
|
String-based API.
Context: Per discussion in [] this change adds a String-based `Step` class as a replacement for `ProcessingStep`. The new `Step` contains the same two methods (annotations() & process()) which return and accept fully-qualified annotation names. To support the potential absence of the annotation classes from the processor classpath the corresponding methods were changed to no longer depend on explicit Class types.
RELNOTES=Adding String-based `Step` as a replacement for `ProcessingStep` to BasicAnnotationProcessor. Allows for fully-qualified Annotation names to be specified in a processing Step in order to remove the requirement that implementation processors depend directly on their Annotation classes.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=316968142
|
|
Merge the parent commit of auto-value-1.7.3 into master. The commit
of the auto-value-1.7.3 tag is not on a branch so not replicated, but
it just sets the version number.
Bug: 158870037
Test: m checkbuild
Change-Id: I1d88f1443d71b630efda822b04355c3b3fb20d59
|
|
|
|
Detect references to not-yet-generated Factory classes, and associate them with the correct package name if the Factory is one of the ones currently being generated.
Fixes https://github.com/google/auto/issues/297.
RELNOTES=Fix a problem with references to Factory classes in other packages.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=316148042
|
|
`Nested @AutoValue class must be static`
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=316117150
|
|
they're https.
The links work even now because they automatically redirect.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=315389274
|
|
RELNOTES=n/a
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=315322251
|
|
This happens only if `@AutoValue.CopyAnnotations` is present on the `@AutoValue.Builder` class, using the same logic as for copying annotations from the main `@AutoValue` class.
RELNOTES=Optionally copy annotations from the `@AutoValue.Builder` class to the generated subclass.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=315291023
|