Commit Graph
8 Commits
Author SHA1 Message Date
Reinier Zwitserloot 4cfdf21430 [test] Fix tests to reflect updates to @CheckReturnValue feature. 2026-08-21 02:57:22 +02:00
Reinier Zwitserloot 0c5f878a4c [tests] This seemingly humongous commit is actually nothing: All test-cases now have @Generated annotations where before they did not. 2024-05-17 03:04:40 +02:00
Jan Rieke ae8ff327d2 [fixes #3081] make CheckerFramework's This a type annotation 2022-01-09 01:36:22 +01:00
Rawi01 624c8a5a52 [fixes #2682] Fix NPE, always add Javadoc return statement 2020-12-21 17:16:33 +01:00
Reinier Zwitserloot 14cce76805 [builder] big refactor: Fixing CheckerFramework features + all params now in an object
These handlers had methods with humongous argument lists, and they needed to grow even more in order
to accommodate some new needs to properly implement checkerframework (where annos can be type-use
based, which means they were being put in the wrong place.

void foo(com.foo.@X Bar paramName) // correct
void foo(@X com.foo.Bar paramName) // wrong

For example, the CalledMethod annotation is a type-use annotation.

This commit covers both that refactor and fixing checkerframework generation.
2020-10-03 23:55:10 +02:00
Reinier Zwitserloot 3edac64911 [fixes #2386] [checkerframework]
Now generating checkerframework `@Pure` instead of `@SideEffectFree` where appropriate.
2020-03-15 03:04:03 +01:00
Reinier Zwitserloot c11edbf032 [With] renaming lombok.experimental.Wither to lombok.experimental.With 2019-08-27 00:15:47 +02:00
Reinier Zwitserloot 15df143df6 [checkerframework]
A bit of a shadow feature because the checker framework folks need to do some work on their side.
this update makes lombok generate a few checker framework annotations (if configured to do so)
which let the checker framework add warnings and errors for example if you misuse builders, or ignore
the return values of withers, etc.
2019-08-22 22:42:48 +02:00