Reinier Zwitserloot
532c28ea62
[trivial] fatfingered a test file name somehow.
2019-04-24 13:53:14 +02:00
Reinier Zwitserloot
1730a991b5
[val] in ecj we were constructing a different type than for javac, when using ‘val’ on an intersection type.
2019-04-24 13:52:49 +02:00
Reinier Zwitserloot
ccaefff69f
[jdk12] adding support for the new nodes introduced for the improvements to switch statements, and the ‘switch expression’ preview feature, as well as support for the concept of preview features in general.
2019-04-24 13:52:17 +02:00
Reinier Zwitserloot
031da25e35
[website] added the 7-lessons presentation as video
2019-04-24 00:41:28 +02:00
Reinier Zwitserloot
4cbe67361b
[ fixes #2085 ] JDK12 compatibility. Also acknowledging @nqzero for the permit-reflect library which is inspiring our shenanigans :)
2019-04-24 00:41:27 +02:00
Charles A Sharp
ad93bb0704
Updated the text explanation link.
...
OCI moved their Java News Briefs (JNB) to a more general format called Software Engineering Tech Trends (SETT). This changed the link for the article featuring Project Lombok.
This minor modification corrects the JNB link to the current location of the article.
2019-04-18 20:11:42 +02:00
monosoul
4a39f8ec47
#1040 remove createFormat() method
...
Method createFormat() causes ambiguous behavior and shouldn't be used
with addFormat(), especially because the created format instance doesn't
being added to the formatOptions
2019-04-18 20:09:26 +02:00
Roel Spilker
69e6932b81
[p2069] Add sbt-delombok documentation
2019-03-26 10:25:59 +01:00
Roel Spilker
50bf870cc7
Merge branch 'patch-1' of https://github.com/Atry/lombok into Atry-patch-1
2019-03-26 10:24:15 +01:00
Reinier Zwitserloot
f6ad0ecde9
[ fixes #2050 ] [ fixes #2061 ] javac would fail to skip generating build() method if it is already there
2019-03-26 01:36:40 +01:00
Reinier Zwitserloot
320fbfee4d
[ fixes #2049 ] Delombok now figures out usages of ‘var’ and delomboks them as just ‘var’ instead of their actual type.
2019-03-26 01:26:37 +01:00
Reinier Zwitserloot
33281d8578
[ #2046 ] Extend suppress builder feature to @SuperBuilder
2019-03-26 01:25:18 +01:00
Roel Spilker
5d4066ed48
changelog update
2019-03-26 00:27:41 +01:00
Roel Spilker
1e49706bb8
[i2066] Map#putIfAbsent does not exist in java6
2019-03-26 00:24:47 +01:00
Roel Spilker
65b285b0b5
typo
2019-03-26 00:11:51 +01:00
Roel Spilker
4e7414038a
[i2078] Add possibility to generate assert on @NonNull
2019-03-26 00:00:42 +01:00
Reinier Zwitserloot
e4b61e1263
[performance] fixing bug in earlier performance commit on optimizing lookups of typeMatches.
2019-03-25 23:12:13 +01:00
Reinier Zwitserloot
228e99fe52
[ fixes #2046 ] you can now suppress the builder() method, useful if you only want toBuilder(). Also suppresses the warnings about any missing Builder.Default annotations.
2019-03-25 23:11:48 +01:00
Reinier Zwitserloot
535e20972c
[trivial] fixing spacing of earlier commit
2019-03-25 22:11:57 +01:00
Reinier Zwitserloot
ec543dff8e
[javadoc] new javadoc tools, new boneheaded mistakes. Seemingly nobody gives a toss about this tool over at oracle? Used some hacks to work around the worst offenses.
2019-03-25 21:26:09 +01:00
Reinier Zwitserloot
732d3db79a
[docs] we had 2 references to v2.0.0; in the end that turned out to simply be v1.16.20.
2019-03-25 20:41:27 +01:00
Reinier Zwitserloot
f8857fdffe
[performance] improve typeMatches lookup. Especially in light of the built-in copyable annotations lists growing, this should help performance.
2019-03-25 20:20:22 +01:00
Reinier Zwitserloot
cddd9d96ca
[website] adding CSS style for important notifications
2019-03-25 20:20:22 +01:00
杨博 (Yang Bo)
61e7785072
Mention sbt-delombok
2019-03-15 19:00:49 +08:00
Reinier Zwitserloot
4627800998
Merge pull request #2060 from nbali/patch-1
...
Fixed bug with 'lombok.experimental.flagUsage = ALLOW'
2019-03-12 00:58:07 +01:00
Balázs Németh
7f375f3a91
Fixed bug with 'lombok.experimental.flagUsage = ALLOW'
...
Fixes #2059
2019-03-07 17:31:05 +01:00
Reinier Zwitserloot
3ac415254f
[ fixes #1997 ] try-with-resources where the thing you’re guarding is just a variable ref instead of a full decl (legal since JDK9) would break delombok
2019-02-19 02:08:14 +01:00
Roel Spilker
8479edb426
var/val in Eclipse can now handle intersection types, fixes #1986
2019-02-19 01:47:49 +01:00
Reinier Zwitserloot
fd9045dac2
[build] bugfix for the build.
2019-02-19 00:20:53 +01:00
Reinier Zwitserloot
46b71c810c
[issue #2039 ] update docs to warn about a javac peculiarity for named static imports.
2019-02-19 00:09:03 +01:00
Reinier Zwitserloot
4401562b8f
[build] ecj-ified all attempts to build anything targeted at below java9 (so, most of it), because right now only javac from JDK9 can be used to build lombok and that’s a sad state of affairs.
2019-02-18 23:49:01 +01:00
Reinier Zwitserloot
d1b3545b01
post-release version bump
2019-02-12 01:37:39 +01:00
Reinier Zwitserloot
91d6bcfeb5
prerelease version bump
2019-02-12 01:31:34 +01:00
Reinier Zwitserloot
41ce6bef75
Merge pull request #2036 from inabajunmr/fix-javadoc-builder
...
Fix Javadoc for @Builder
2019-02-12 01:27:22 +01:00
Reinier Zwitserloot
cf7855b1a1
Merge pull request #2018 from emlun/refactor-singularizers
...
Reduce code duplication in singularizers
2019-02-12 01:25:39 +01:00
inabajunmr
35d379791b
fix doc for Builder
2019-02-02 02:14:50 +09:00
Roel Spilker
0bc68e4995
update changelog
2019-01-29 01:44:55 +01:00
Reinier Zwitserloot
984570df78
[test] Made it easier to run the tests on just one of the resource files.
2019-01-29 01:34:22 +01:00
Reinier Zwitserloot
3d0beec38d
[ fixes #2011 ] If you have a field named build or toString, and you 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-29 01:34:22 +01:00
Michael Ernst
960811364b
Remove javax.validation.constraints.NotNull from list
2019-01-29 01:03:59 +01:00
Michael Ernst
f65dff42ea
Augment NONNULL_ANNOTATIONS with more aliases for lombok.NonNull.
...
Augment BASE_COPYABLE_ANNOTATIONS with more type annotations from the
Checker Framework.
2019-01-29 01:03:59 +01:00
Reinier Zwitserloot
7a670c5279
[ fixes #2013 ] documentation for config system was still referring to deprecated keys.
2019-01-29 01:00:16 +01:00
Roel Spilker
54d2fffa0b
docker support gradle 5.1.1
2019-01-29 00:46:57 +01:00
Roel Spilker
f2392ccd62
New strategy to force new rounds. Possible fix for #1723 , #1858 and #1946
2019-01-29 00:46:57 +01:00
Reinier Zwitserloot
54dce4c83b
[ fixes #2024 ] FieldNameConstants was causing lots of problems in eclipse, especially with save actions.
2019-01-29 00:43:46 +01:00
Reinier Zwitserloot
2a8225a6af
[website] updated docs for using lombok with gradle
2019-01-28 22:15:56 +01:00
Robert Wertman
f2d03973d5
Replace sized array in toArray with 0
...
This approach has been benchmarked to be marginally faster.
Fixes #2030 .
2019-01-28 20:44:53 +01:00
Reinier Zwitserloot
ccd802503d
[ fixes #2019 ] Lombok now properly deals with @NonNull specifically on the ‘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-22 04:30:02 +01:00
Reinier Zwitserloot
ba4e69bf30
[website] linked to blog for intellij install instructions just in case someone’s looking for screenshots and such
2019-01-22 04:29:15 +01:00
Roel Spilker
79d7b4c4a2
add pom for jdk11 docker image
...
use openjdk11.0.2
update maven default to 3.6.0
2019-01-22 01:21:23 +01:00