mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-19 04:16:15 +00:00
Updated documentation of XArgsConstructor to highlight that we won't/can't remove
suppressConstructorProperties until GWT and Android get the CP annotation. See issue #202
This commit is contained in:
1 parent
ead7ff428c
commit
816c0b99e7
1 file changed
+4
@@ -71,6 +71,10 @@
|
||||
</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>.
|
||||
</p><p>
|
||||
While <code>suppressConstructorProperties</code> has been marked deprecated in anticipation of a world where all java environments have the
|
||||
<code>@ConstructorProperties</code> annotation available, first GWT 2.2 and Android 2.3.3, which do not (yet) have this annotation, will have
|
||||
to be ancient history before this annotation parameter will be removed.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user