aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
AgeCommit message (Collapse)Author
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-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-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
2018-10-15Don't initialize already initialized final fields. Fixes #1829.Roel Spilker
2018-10-15[fixes #1324] toBuilder with @Singular marked collections that are null no ↵Reinier Zwitserloot
longer throws NPE.
2018-10-12fixed toBuilder on Singular fields with wildcards (javac)Jan Rieke
2018-10-08Merge branch 'superToBuilder' of git://github.com/janrieke/lombok into ↵Reinier Zwitserloot
janrieke-superToBuilder
2018-10-02[tests] all tests involving ‘var’ should not be run on j10+.Reinier Zwitserloot
2018-09-24SuperBuilder: allow customization of selected methodsJan Rieke
2018-09-24Merge remote-tracking branch 'upstream/master' into superToBuilderJan Rieke
2018-09-18Finishing work on making lombok do sensible things with TYPE_USE annotations ↵Reinier Zwitserloot
and for example their use on the typearg in a collection type which is being `@Singular`-ized.
2018-09-16SuperBuilder toBuilder: test with genericsJan Rieke
2018-09-16SuperBuilder toBuilder: moved static helper method to builder implJan Rieke
2018-09-12Merge remote-tracking branch 'upstream/master' into superToBuilderJan Rieke
2018-09-11adjusted toBuilder tests to cover private variables (impl not yet done)Jan Rieke
2018-09-11SuperBuilder: fixed ObtainViaJan Rieke
2018-09-11Replaced the notion of ‘nullable’ and ‘nonnull’ get copied to ‘any ↵Reinier Zwitserloot
‘copyable’ annotations get copied’, with ‘copyable’ defined as a specific FQN-style list of well-known nullity-indicating annotations, plus whatever you configured in lombok.config. Also some work on the notion of TYPE_USE annotations.
2018-09-11code review and fixes for the ‘copyable annotations’ setting concept.Reinier Zwitserloot
2018-09-11Test cases for remaining features.Werner Dietl
2018-09-11Fix whitespace.Werner Dietl
2018-09-11First attempt at adding Getter test cases.Werner Dietl
2018-09-09SuperBuilder toBuilder; test casesJan Rieke
2018-09-04[issue #1851] Lombok needs to generate type-use annotations when copying ↵Reinier Zwitserloot
over types from, say, a field, to getter/setter/constructor/builder/wither/etc.
2018-08-28[fixes #1836] superbuilder didn’t play ball with field prefixes, at least ↵Reinier Zwitserloot
in javac.
2018-08-27Merge branch 'superBuilderNonNull' of https://github.com/janrieke/lombok ↵Roel Spilker
into janrieke-superBuilderNonNull # Conflicts: # src/core/lombok/eclipse/handlers/HandleSuperBuilder.java # src/core/lombok/javac/handlers/HandleSuperBuilder.java # test/transform/resource/after-delombok/SuperBuilderWithDefaults.java # test/transform/resource/after-ecj/SuperBuilderWithDefaults.java
2018-08-21[fixes #1812] `@Singular` marked collections which nevertheless somehow ↵Reinier Zwitserloot
ended up null would cause an NPE during `toBuilder()` invocations.
2018-08-16only assign value once so that final fields work (javac)Jan Rieke
2018-08-16do null checks after assignment so that default==null is coveredJan Rieke
2018-07-29code impl of FieldNameConstants rewrite + test updates for itReinier Zwitserloot
2018-07-03gave the tests for issue #1397 (generated constructors take ↵Reinier Zwitserloot
`@Builder.Default` into account) an update.
2018-07-03[issue #1347] When lombok generates constructors, it should call the ↵Reinier Zwitserloot
`@Builder.Default` static method instead of initializing to null/0/false. This does that, for javac.
2018-06-18Transient fields should by default be excluded from equals and hashCode. ↵Roel Spilker
Fixes #1724
2018-06-13Merge branch 'janrieke-superBuilder'Reinier Zwitserloot
2018-06-04Make `extraPrivate` opt-in instead of opt-out. Fixes #1708Roel Spilker
2018-06-04FieldNameConstants now defaults to having a prefix ‘FIELD_’, which can ↵Reinier Zwitserloot
be configured both on the annotation itself and via a config key. This totally breaks compatibility with the previous lombok release, but, hey, it’s in experimental and it’s been one week. This is better.
2018-06-04Do not generate a private no-args constructor if:Roel Spilker
- The class has a parent class - There is an explicit XxxArgsConstructor annotation that would generate a no-args constructor Fixes #1703, fixes #1704, fixes #1712