aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2017-03-23 01:07:56 +0100
committerRoel Spilker <r.spilker@gmail.com>2017-03-23 01:07:56 +0100
commitae54fa51ac6162a53dc0ac424d0ba17cdac89ba3 (patch)
tree199047e35a6abeed97f25a7bdf050c65584a38e9 /src/core/lombok/eclipse
parent969ed9125e239380ce70b1c0abc78abc614eebaa (diff)
downloadlombok-ae54fa51ac6162a53dc0ac424d0ba17cdac89ba3.tar.gz
lombok-ae54fa51ac6162a53dc0ac424d0ba17cdac89ba3.tar.bz2
lombok-ae54fa51ac6162a53dc0ac424d0ba17cdac89ba3.zip
[i1180] generate ConstructorProperties also for (package) private constructors
Diffstat (limited to 'src/core/lombok/eclipse')
-rw-r--r--src/core/lombok/eclipse/handlers/HandleConstructor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleConstructor.java b/src/core/lombok/eclipse/handlers/HandleConstructor.java
index 5978d542..856f3611 100644
--- a/src/core/lombok/eclipse/handlers/HandleConstructor.java
+++ b/src/core/lombok/eclipse/handlers/HandleConstructor.java
@@ -364,7 +364,7 @@ public class HandleConstructor {
/* Generate annotations that must be put on the generated method, and attach them. */ {
Annotation[] constructorProperties = null;
- if (!allToDefault && !suppressConstructorProperties && level != AccessLevel.PRIVATE && level != AccessLevel.PACKAGE && !isLocalType(type)) {
+ if (!allToDefault && !suppressConstructorProperties && !isLocalType(type)) {
constructorProperties = createConstructorProperties(source, fields);
}