diff options
author | Roel Spilker <r.spilker@gmail.com> | 2017-03-23 01:07:56 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2017-03-23 01:07:56 +0100 |
commit | ae54fa51ac6162a53dc0ac424d0ba17cdac89ba3 (patch) | |
tree | 199047e35a6abeed97f25a7bdf050c65584a38e9 /website/features/Constructor.html | |
parent | 969ed9125e239380ce70b1c0abc78abc614eebaa (diff) | |
download | lombok-ae54fa51ac6162a53dc0ac424d0ba17cdac89ba3.tar.gz lombok-ae54fa51ac6162a53dc0ac424d0ba17cdac89ba3.tar.bz2 lombok-ae54fa51ac6162a53dc0ac424d0ba17cdac89ba3.zip |
[i1180] generate ConstructorProperties also for (package) private constructors
Diffstat (limited to 'website/features/Constructor.html')
-rw-r--r-- | website/features/Constructor.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/website/features/Constructor.html b/website/features/Constructor.html index 88a8f6ac..407f54ad 100644 --- a/website/features/Constructor.html +++ b/website/features/Constructor.html @@ -76,8 +76,7 @@ signals you must know what you're doing. </p><p> The <code>@java.beans.ConstructorProperties</code> annotation is never generated for a constructor with no arguments. This also explains why <code>@NoArgsConstructor</code> - lacks the <code>suppressConstructorProperties</code> annotation method. The <code>@ConstructorProperties</code> annotation is also omitted for private constructors. The - generated static factory methods also do not get <code>@ConstructorProperties</code>, as this annotation can only be added to real constructors. + lacks the <code>suppressConstructorProperties</code> annotation method. The generated static factory methods also do not get <code>@ConstructorProperties</code>, as this annotation can only be added to real constructors. </p><p> <code>@XArgsConstructor</code> can also be used on an enum definition. The generated constructor will always be private, because non-private constructors aren't legal in enums. You don't have to specify <code>AccessLevel.PRIVATE</code>. |