Commit Graph

  • db19327cb4 [fixes #1628] Lombok now marks the result field used in the generated 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. Reinier Zwitserloot 2018-11-08 15:51:08 +01:00
  • a685d0828c [fixes #1888] [jdk12] lombok can deal with the changes to case/break nodes in JDK12-preview javac. Reinier Zwitserloot 2018-11-06 00:54:05 +01:00
  • 7e79316a1f Improve toString generation for enums. Fixes #1916 Roel Spilker 2018-11-06 00:27:02 +01:00
  • dc641cc369 [fixes #1912] clarifying builder’s behaviour about generating constructors in the face of already present ones. Reinier Zwitserloot 2018-11-05 23:39:02 +01:00
  • a73965b2b7 [fixes #1918] toString now supports a configkey to tell it how to deal with super. Reinier Zwitserloot 2018-11-05 23:26:59 +01:00
  • 2c0ec93155 [bugfix] attempting to fix an issue with buckbuild which uses some exotic trickery to compile straight from jar to jar, messing up our wrapper around javac’s javaFileObject. Bug report and suggested fix from external sources, we didn’t test it, but we only kick in this alternative if an exception occurs, so it couldn’t possibly affect anything that was already working fine. See PR #1929 Reinier Zwitserloot 2018-11-05 21:40:30 +01:00
  • 9fc02601df [website] the usage example for FieldNameConstants was still written in the abandoned 1.18.2 style. Reinier Zwitserloot 2018-11-05 21:19:21 +01:00
  • 4acda73319 [trivial] error out on mismatch between FieldNameConstants asEnum flag and actual handwritten type. Reinier Zwitserloot 2018-11-01 16:43:25 +01:00
  • 2fd46a50b6 [feature] FieldNameConstants now works like Builder: Make whatever bits it does by hand and lombok fills in whatever is missing. Reinier Zwitserloot 2018-11-01 16:38:25 +01:00
  • 21878e253e [fixes #1932] We broke the delombok ant task. Reinier Zwitserloot 2018-11-01 15:01:33 +01:00
  • 6e7924f865 post-release version bump. Reinier Zwitserloot 2018-10-30 01:29:27 +01:00
  • 8451c88bfa pre-release version bump Reinier Zwitserloot 2018-10-30 01:22:02 +01:00
  • e960f482a9 cleaning up the changelog in preparation for a release. Reinier Zwitserloot 2018-10-30 01:03:01 +01:00
  • 9b0601809b [fixes #1907] This one is hard to describe; due to builder being a bit overzealous as to what it marks as ‘generated’, if you manually write the builder class and add some elements, you’d get crazy errors on those. Reinier Zwitserloot 2018-10-30 01:02:52 +01:00
  • f5b106971a add jdk11 to docker builds Roel Spilker 2018-10-30 00:50:10 +01:00
  • 03365378e9 fixing the tests added in the previous commits by janrieke to match alternative take on how to ‘fix’ null-collections and singular/toBuilder. Reinier Zwitserloot 2018-10-29 23:41:11 +01:00
  • d8de0e3c49 Merge branch 'wildcardsSingularFix' of git://github.com/janrieke/lombok into janrieke-wildcardsSingularFix Reinier Zwitserloot 2018-10-29 23:29:10 +01:00
  • eca219ee64 eliminate ‘you are using private API’ warnings by streamlining all reflective access via a class that uses sun.misc.Unsafe to arrange access. From the nqzero permit-reflect library. Reinier Zwitserloot 2018-10-29 23:13:52 +01:00
  • 182cb0cb9e [java-11] up dependency on lombok.patcher, including asm7 Roel Spilker 2018-10-29 21:30:27 +01:00
  • c02263a5e2 Merge pull request #1923 from abargnesi/fix-maven-issue-management Reinier Zwitserloot 2018-10-29 21:07:19 +01:00
  • 4cf36b2788 Merge pull request #1917 from kkocel/master Reinier Zwitserloot 2018-10-29 21:06:26 +01:00
  • fb039c2837 Merge pull request #1871 from janrieke/customizableSuperBuilder Reinier Zwitserloot 2018-10-29 21:04:59 +01:00
  • d8b882cf7e [test] Added some posix scripts to test module-based builds. We should make these as unit tests someday. Reinier Zwitserloot 2018-10-29 20:46:18 +01:00
  • 742783e40e correct issueManagement declaration in maven POM Tony Bargnesi 2018-10-24 20:28:54 -04:00
  • 1a4319e785 Added Spring NonNull and Nullable annotations Krzysztof Kocel 2018-10-23 14:03:50 +02:00
  • e40eab2e34 [fixes #1795] you can now pass arguments to delombok via file in the same way javac/java support it. Reinier Zwitserloot 2018-10-16 00:57:50 +02:00
  • 89907fd11f [Fixes #1848] Added support to delombok for properly handling jigsaw (module-info) style projects. Reinier Zwitserloot 2018-10-16 00:14:10 +02:00
  • 836bd0ab57 only call System.exit if the return code is not zero, quickfix for #1795 Roel Spilker 2018-10-15 23:38:05 +02:00
  • 89294fe03c add tests to ensure onlyExplicitlyIncluded means nothing if no fields are annotated. Fixes #1772 Roel Spilker 2018-10-15 23:19:55 +02:00
  • 7ee4ebb1a5 Don't initialize already initialized final fields. Fixes #1829. Roel Spilker 2018-10-15 22:37:18 +02:00
  • 11322a489b Merge pull request #1864 from daniel-shuy/daniel-shuy-patch-1 Reinier Zwitserloot 2018-10-15 22:35:34 +02:00
  • 73cd46fce2 Fix up positions of generated nodes for eclipse @Builder. Reinier Zwitserloot 2018-10-15 21:50:36 +02:00
  • becb12658e Remove references to suppressConstructorProperties, fixes #1873 Roel Spilker 2018-10-15 21:21:49 +02:00
  • d994839ac0 Merge branch 'master' into janrieke-superToBuilder Reinier Zwitserloot 2018-10-15 21:19:18 +02:00
  • c2f4ea47a1 [website] Updated documentation on how to use Lombok and GWT together. Reinier Zwitserloot 2018-10-15 21:13:19 +02:00
  • c896f24278 [build] Fixing running tests via ant test, setting up the build, and a few other build-related issues. Reinier Zwitserloot 2018-10-15 21:13:07 +02:00
  • 94eadb5131 [fixes #1324] toBuilder with @Singular marked collections that are null no longer throws NPE. Reinier Zwitserloot 2018-10-15 21:12:45 +02:00
  • cbcab66480 #1881 add documentation Roel Spilker 2018-10-15 21:15:25 +02:00
  • e9d098a16c fixed toBuilder on Singular fields with wildcards (ecj) Jan Rieke 2018-10-12 19:47:40 +02:00
  • 80b5f8d41d fixed another missing type arg issue Jan Rieke 2018-10-12 15:26:25 +02:00
  • d6057f8eb7 fixed toBuilder on Singular fields with wildcards (javac) Jan Rieke 2018-10-12 09:06:34 +02:00
  • 06455de367 Merge branch 'superToBuilder' of git://github.com/janrieke/lombok into janrieke-superToBuilder Reinier Zwitserloot 2018-10-08 15:52:43 +02:00
  • 3bb6f69a5b Added instructions for the GWT/Eclipse plugin. Reinier Zwitserloot 2018-10-08 15:51:10 +02:00
  • d91ba858f2 [tests] all tests involving ‘var’ should not be run on j10+. Reinier Zwitserloot 2018-10-02 04:02:33 +02:00
  • 2ae7b4d516 Fixed: command line testing with Javac9+ would fail on all tests that are testing that the compiler emits warning/error messages. Reinier Zwitserloot 2018-10-02 04:02:19 +02:00
  • cd970993e8 [buildscript] addition of a test task that runs faster; don’t use it unless you know what you’re doing as it skips a few important steps. Reinier Zwitserloot 2018-10-02 04:01:48 +02:00
  • 651fed9205 [buildscript] Compiling the scaffolding for the test suite was failing due to an error in the build file. Reinier Zwitserloot 2018-10-01 13:39:29 +02:00
  • 97d8094f42 SuperBuilder: feature history Jan Rieke 2018-09-24 18:35:54 +02:00
  • c49e7d1872 SuperBuilder: customization documentation Jan Rieke 2018-09-24 18:25:03 +02:00
  • 77adcd3ced Merge branch 'superToBuilder' into customizableSuperBuilder Jan Rieke 2018-09-24 18:09:31 +02:00
  • bd494bb5ff SuperBuilder: fixed ecj tests (params are now final) Jan Rieke 2018-09-24 18:07:46 +02:00
  • a454fd74cf SuperBuilder: allow customization of selected methods Jan Rieke 2018-09-24 17:48:03 +02:00
  • 80af03a3e4 SuperBuilder toBuilder documentation Jan Rieke 2018-09-24 17:09:45 +02:00
  • afec417115 make BuilderFieldData package-private, so that SuperBuilder can use it Jan Rieke 2018-09-24 16:49:03 +02:00
  • b5648976b6 Merge remote-tracking branch 'upstream/master' into superToBuilder Jan Rieke 2018-09-24 16:46:00 +02:00
  • fd4c9d4bff SuperBuilder toBuilder fix with no generics (ecj) Jan Rieke 2018-09-24 09:32:07 +02:00
  • 279ceaa727 SuperBuilder toBuilder with generics (ecj) Jan Rieke 2018-09-24 09:26:37 +02:00
  • 68318742ef SuperBuilder toBuilder with generics (javac) Jan Rieke 2018-09-21 11:25:55 +02:00
  • c887396743 Fix return type in UtilityClassExample_pre.jpage Daniel Shuy 2018-09-19 16:17:27 +08:00
  • d8ff9ebf74 Fix return type in UtilityClassExample_post.jpage Daniel Shuy 2018-09-19 16:17:01 +08:00
  • aee4e76d86 updated docs to reflect change to copyable annotations Reinier Zwitserloot 2018-09-18 01:40:32 +02:00
  • 9198551def Finishing work on making lombok do sensible things with TYPE_USE annotations and for example their use on the typearg in a collection type which is being @Singular-ized. Reinier Zwitserloot 2018-09-17 23:44:26 +02:00
  • 63343fced5 SuperBuilder toBuilder: test with generics Jan Rieke 2018-09-16 21:20:58 +02:00
  • 790e060380 SuperBuilder toBuilder: moved static helper method to builder impl Jan Rieke 2018-09-16 17:24:39 +02:00
  • 41d8929630 SuperBuilder: removed unnecessary method params Jan Rieke 2018-09-16 16:02:28 +02:00
  • 7a287670f4 SuperBuilder toBuilder: generate static toBuilder helper method (javac) Jan Rieke 2018-09-16 15:51:19 +02:00
  • f5fff49f73 SuperBuilder toBuilder: generate static toBuilder helper method (ecj) Jan Rieke 2018-09-14 22:53:02 +02:00
  • 14fa70ae18 SuperBuilder toBuilder: renamed generated static helper method Jan Rieke 2018-09-14 09:28:02 +02:00
  • da0020cd48 Merge remote-tracking branch 'upstream/master' into superToBuilder Jan Rieke 2018-09-12 09:30:40 +02:00
  • ddd42acb59 adjusted toBuilder tests to cover private variables (impl not yet done) Jan Rieke 2018-09-11 21:39:10 +02:00
  • a2b884c711 SuperBuilder: fixed ObtainVia Jan Rieke 2018-09-11 20:37:16 +02:00
  • da59d2d637 SuperBuilder: generate toBuilder method (ecj) Jan Rieke 2018-09-11 16:59:29 +02:00
  • 1f3688fdba SuperBuilder: generate fillValuesFrom method (ecj) Jan Rieke 2018-09-11 16:36:25 +02:00
  • abb0d2374e SuperBuilder: generate fillValuesFrom method (javac) Jan Rieke 2018-09-11 14:52:15 +02:00
  • b42ce5325a SuperBuilder: generate toBuilder method (javac) Jan Rieke 2018-09-11 10:32:50 +02:00
  • d7873f2d21 Replaced the notion of ‘nullable’ and ‘nonnull’ get copied to ‘any ‘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. Reinier Zwitserloot 2018-09-11 01:41:22 +02:00
  • cc8370ab2d code review and fixes for the ‘copyable annotations’ setting concept. Reinier Zwitserloot 2018-09-04 01:47:59 +02:00
  • cd8434feee Eclipse expected output. Werner Dietl 2018-08-30 23:18:33 -04:00
  • 65fc9897b3 Handle null annotation array correctly. Werner Dietl 2018-08-30 23:17:29 -04:00
  • c3f34a8447 Test cases for remaining features. Werner Dietl 2018-08-30 12:23:07 -04:00
  • ced71c5468 Fix whitespace. Werner Dietl 2018-08-30 12:22:03 -04:00
  • 859cb5cf8c First attempt at adding Getter test cases. Werner Dietl 2018-08-30 00:09:09 -04:00
  • fc35839c79 Copy annotations in Eclipse HandleBuilder. Werner Dietl 2018-08-27 18:56:16 -04:00
  • 79bfcc4f7a Add configuration key, handle whereever NULLABLE is handled, support Eclipse. Werner Dietl 2018-08-27 18:36:13 -04:00
  • 7a575e1e5d Copy all field annotations to the corresponding builder parameter. Maybe some filtering is necessary and should be added later. Werner Dietl 2018-05-28 13:32:49 -04:00
  • 2027ffc49f [website] force-align pre blocks to the left Reinier Zwitserloot 2018-09-11 01:59:09 +02:00
  • 910f3611af website 404 on image load Roel Spilker 2018-09-11 01:27:47 +02:00
  • f3881e51da layout delombok page Roel Spilker 2018-09-11 00:45:24 +02:00
  • da7c7720a6 update changelog Roel Spilker 2018-09-10 23:27:42 +02:00
  • 52aa55ed55 update website documentation Roel Spilker 2018-09-10 23:07:15 +02:00
  • 0c23659103 [trivial] Reinier Zwitserloot 2018-09-10 22:54:22 +02:00
  • db91eb8e9c Fully integrating ‘ant edge-release’ to include updating the site, our mavenrepo on projectlombok.org, and the branch on git. Reinier Zwitserloot 2018-09-10 22:42:08 +02:00
  • 7319256a37 [website] some work on releasing edge and updating git. Reinier Zwitserloot 2018-09-10 22:24:42 +02:00
  • 6a42bccb97 toBuilder() with singular should force the typeargs on the Collections.emptyList call. Reinier Zwitserloot 2018-09-10 22:24:06 +02:00
  • 8c28302705 Upgraded our objectweb ASM dep and moved API level up to 6, to avoid a ‘this feature requires ASM5’ error that occurs when patching recent eclipse releases. Reinier Zwitserloot 2018-09-10 22:23:42 +02:00
  • 3c6513073b create edge-SNAPSHOT maven artifacts Roel Spilker 2018-09-10 22:20:41 +02:00
  • 849aa4fdda SuperBuilder toBuilder; test cases Jan Rieke 2018-09-09 19:47:51 +02:00
  • b60541526c running the edge-release task also sets the git tag now. Reinier Zwitserloot 2018-09-04 01:59:22 +02:00
  • a39ef3ba0c [issue #1851] Lombok needs to generate type-use annotations when copying over types from, say, a field, to getter/setter/constructor/builder/wither/etc. Reinier Zwitserloot 2018-09-04 01:53:07 +02:00
  • af55bd0a32 [wip] Random fixes to various tests that are failing, especially against Java7. Reinier Zwitserloot 2018-09-04 01:53:30 +02:00