aboutsummaryrefslogtreecommitdiff
path: root/test/transform
AgeCommit message (Collapse)Author
2019-09-11Merge branch 'master' of github.com:rzwitserloot/lombok into ↵Caleb Brinkman
feature/builder-setter-prefixes
2019-08-27[tests] fixing an error in a superbuilder/checkerframework testReinier Zwitserloot
2019-08-27[With] renaming lombok.experimental.Wither to lombok.experimental.WithReinier Zwitserloot
2019-08-22[checkerframework]Reinier Zwitserloot
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-07-16Merge branch 'master' of github.com:rzwitserloot/lombok into ↵Caleb Brinkman
feature/builder-setter-prefixes
2019-07-16Fixes #1197, add Objects.requireNonNull and Preconditions.checkkNotNull to ↵Roel Spilker
supported null-check styles
2019-07-16[fixes #2168] Added JsonSetter as a copyable annotationReinier Zwitserloot
2019-07-16[Fixes #2115] builder fields tracking a property that has a default set is ↵Reinier Zwitserloot
now called `$value` in order to convey that you shouldnt manually mess with it.
2019-07-10Implement prefixed settersCaleb Brinkman
Related to #1805, this change adds an optional `setterPrefix` parameter to the `Builder` annotation; if this parameter is unspecified or blank the behavior of the `Builder` annotation is unchanged, but if it is present the value specified will be prefixed to the generated methods. For example, using: ``` @Builder(setterPrefix = "include") class Foo { private int someValue; } ``` will result in a generated `Builder` class containing an `includeSomeValue(int someValue)` method instead of the default `someValue(int someValue)`.
2019-07-10Add tests for prefixed builderCaleb Brinkman
2019-07-09Merge branch 'customlog'Reinier Zwitserloot
2019-07-09Merge pull request #2138 from ↵Reinier Zwitserloot
bulgakovalexander/feature/typeInferenceImprovements val. override error handling policy for problemReporter to guarantee AbortCompilation is throwing.
2019-07-09[builder] added a feature: you can now configure builder class name via the ↵Reinier Zwitserloot
config system
2019-07-08Fixes #2165: Generated equals fails on annotated array typeRoel Spilker
2019-05-25[val]. more test casesBulgakov Alexander
2019-05-21Code review + mention in changelog for the improvement to val handling vs. ↵Reinier Zwitserloot
lambdas and conditional (ternary) expressions.
2019-05-20#1976. one more test caseBulgakov Alexander
2019-05-20Merge branch 'master' into feature/typeInferenceImprovementsBulgakov Alexander
2019-05-14Custom log declarationAdam Juraszek
2019-05-08#1976. [@val] improved raw generic type inference by eclipse compiler.Bulgakov Alexander
2019-05-07[Feature] staticConstructor should use already defined private constructor ↵daliclass
if available
2019-05-07Merge remote-tracking branch 'lombok/master' into ↵Bulgakov Alexander
feature/typeInferenceImprovements
2019-05-07#1976. naive fix of the eclipse compiler's error 'The target type of this ↵Bulgakov Alexander
expression must be a functional interface' in code like 'lombok.val foo = (System.currentTimeMillis() > 0) ? (Runnable)()-> {} : System.out::println;'
2019-05-07[fixes #1981][fixes #1961] Hardcoded some knowledge about how to copy ↵Reinier Zwitserloot
jackson’s `@JsonProperty`.
2019-05-06[fixes #2120] ecj was not generating explicit nullchecks for builder-setters.Reinier Zwitserloot
2019-05-03Merge remote-tracking branch 'lombok/master' into ↵Bulgakov Alexander
feature/typeInferenceImprovements
2019-05-01[fixes #2104] superbuilder + non-list-singulars wouldn’t work due to ↵Reinier Zwitserloot
hardcoded call to emptyList.
2019-05-01[issue #2092] Add an uppercase option to FieldNameConstantsReinier Zwitserloot
2019-05-01[fixes #2083] adds feature ‘access level’ to `@Builder`Reinier Zwitserloot
2019-04-28#1976. A handlers' order has been changed. The javac's HandleDelegate ↵Bulgakov Alexander
generates code before the HandleVal.
2019-04-24improvements type inference of type intersections (affects ValLambda.java, ↵Bulgakov Alexander
ValWeirdTypes.java tests)
2019-03-26[i2078] Add possibility to generate assert on `@NonNull`Roel Spilker
2019-03-25[fixes #2046] you can now suppress the builder() method, useful if you only ↵Reinier Zwitserloot
want toBuilder(). Also suppresses the warnings about any missing Builder.Default annotations.
2019-02-19var/val in Eclipse can now handle intersection types, fixes #1986Roel Spilker
2019-01-29[fixes #2011] If you have a field named `build` or `toString`, and you ↵Reinier Zwitserloot
generate a builder, that builder wouldn’t make the build or toString methods because it thinks the builder-setter methods it just generated that so happen to have that name indicate you don’t want lombok to do that. You really shouldn’t name any fields builder or toString, though.
2019-01-22[fixes #2019] Lombok now properly deals with `@NonNull` specifically on the ↵Reinier Zwitserloot
‘type use’ of a parameter (and, in case of arrays, on the outermost dimension which is actually the first one listed. Weird corner case of the JLS).
2019-01-21Delombok now also prints explicit no-arg super constructor calls, fixes #2023.Roel Spilker
2019-01-15Replace SetterWitherJavadocParamCopy with SetterAndWitherJavadocEmil Lundberg
2019-01-15Remove irrelevant details from BuilderJavadoc test caseEmil Lundberg
2019-01-15Copy Javadoc to @Builder settersEmil Lundberg
2019-01-14[i1996] add test for warnings on non-existing fieldsRoel Spilker
2019-01-08[#1033] steps on the way to issue 1033: You can add cleanup tasks which are ↵Reinier Zwitserloot
deferred (during the javac run) until the end. This already fixes the exotic-to-the-point-of-nonexistent bug where setter and wither compete to steal the `@param` off of the field’s javadoc. Next are to fix builder and setter/wither competing whilst bringing javadocs to `@Builder`. Then for various other conflicts, we should defer removal of lombok imports and annotations until the end too.
2018-11-08[fixes #1628] Lombok now marks the `result` field used in the generated ↵Reinier Zwitserloot
hashCode method as final if it isn’t modified. This doesn’t change its behavior whatsoever, but some linters and especially eclipse save actions (specifically: ‘mark local variables final if possible’) cause issues when they try to mess with generated code. Of course, now any save action with ‘remove useless modifiers’ would cause an issue but those don’t (yet…) exist.
2018-11-06Improve toString generation for enums. Fixes #1916Roel Spilker
2018-11-05[fixes #1918] toString now supports a configkey to tell it how to deal with ↵Reinier Zwitserloot
super.
2018-11-01[feature] FieldNameConstants now works like Builder: Make whatever bits it ↵Reinier Zwitserloot
does by hand and lombok fills in whatever is missing.
2018-10-29fixing the tests added in the previous commits by janrieke to match ↵Reinier Zwitserloot
alternative take on how to ‘fix’ null-collections and singular/toBuilder.
2018-10-29Merge branch 'wildcardsSingularFix' of git://github.com/janrieke/lombok into ↵Reinier Zwitserloot
janrieke-wildcardsSingularFix
2018-10-29Merge pull request #1871 from janrieke/customizableSuperBuilderReinier Zwitserloot
Customizable SuperBuilder
2018-10-15add tests to ensure onlyExplicitlyIncluded means nothing if no fields are ↵Roel Spilker
annotated. Fixes #1772