diff options
Diffstat (limited to 'test/transform/resource/messages-delombok')
-rw-r--r-- | test/transform/resource/messages-delombok/BuilderDefaultsWarnings.java.messages | 2 | ||||
-rw-r--r-- | test/transform/resource/messages-delombok/GetterOnMethodErrors2.java.messages | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/test/transform/resource/messages-delombok/BuilderDefaultsWarnings.java.messages b/test/transform/resource/messages-delombok/BuilderDefaultsWarnings.java.messages new file mode 100644 index 00000000..5f607134 --- /dev/null +++ b/test/transform/resource/messages-delombok/BuilderDefaultsWarnings.java.messages @@ -0,0 +1,2 @@ +5 @Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. if it is not supposed to be settable during building, add @Builder.Constant. +7 @Builder.Default requires an initializing expression (' = something;'). diff --git a/test/transform/resource/messages-delombok/GetterOnMethodErrors2.java.messages b/test/transform/resource/messages-delombok/GetterOnMethodErrors2.java.messages index 6a181265..3386b565 100644 --- a/test/transform/resource/messages-delombok/GetterOnMethodErrors2.java.messages +++ b/test/transform/resource/messages-delombok/GetterOnMethodErrors2.java.messages @@ -1,4 +1,4 @@ -2 The correct format is @Getter(onMethod_={@SomeAnnotation, @SomeOtherAnnotation}) -3 The correct format is @Getter(onMethod_={@SomeAnnotation, @SomeOtherAnnotation}) -4 The correct format is @Getter(onMethod_={@SomeAnnotation, @SomeOtherAnnotation}) -5 The correct format is @Getter(onMethod_={@SomeAnnotation, @SomeOtherAnnotation}) +3 The correct format is +4 The correct format is +5 The correct format is +6 The correct format is |