mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 00:16:47 +00:00
[i659] suppression of @ConstructorProperties should use config instead. Also modified all onX examples to use two underscores.
This commit is contained in:
1 parent
4d24542dac
commit
d41ef4bf83
26 files changed
+225
-54
No files matched your search
@@ -0,0 +1,14 @@
|
||||
@lombok.AllArgsConstructor class ConstructorsConfiguration {
|
||||
int x;
|
||||
public @java.lang.SuppressWarnings("all") ConstructorsConfiguration(final int x) {
|
||||
super();
|
||||
this.x = x;
|
||||
}
|
||||
}
|
||||
@lombok.AllArgsConstructor(suppressConstructorProperties = false) class ConstructorsConfigurationExplicit {
|
||||
int x;
|
||||
public @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") ConstructorsConfigurationExplicit(final int x) {
|
||||
super();
|
||||
this.x = x;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user