diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2021-04-18 06:33:36 +0200 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2021-04-18 06:33:36 +0200 |
commit | 8e7fcac2e39f7eb8809130ae73b4d17965a5d9f2 (patch) | |
tree | 04a4e22b84b8a89b9f0327935ef7a264a7b21908 /src/stubsstubs/java | |
parent | 3f6d668f8343d2f78736ea36c7b5aa33013fea73 (diff) | |
download | lombok-8e7fcac2e39f7eb8809130ae73b4d17965a5d9f2.tar.gz lombok-8e7fcac2e39f7eb8809130ae73b4d17965a5d9f2.tar.bz2 lombok-8e7fcac2e39f7eb8809130ae73b4d17965a5d9f2.zip |
[records] [@NonNull] slight refactor to ensure any generated canonical constructor is visible to downstream APs
We used to remove the canonical constructor on a record that javac generates, and replace it with our own, as we put null checks in it.
However, the type mirrors and such Annotation Processors use already have the implicit canonical constructor available. Instead of
trying to remove those, let's just take the existing implicit constructor and add to that (and mark it explicit, of course).
Diffstat (limited to 'src/stubsstubs/java')
0 files changed, 0 insertions, 0 deletions