mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-11 03:13:38 +00:00
[comment] Added explanation: We skip ecj check on NonNullOnRecordExistingConstructorz.
This commit is contained in:
1 file changed
+1
-1
@@ -1,5 +1,5 @@
|
||||
// version 14:
|
||||
// skip compare content
|
||||
// skip compare content: At time of writing, the `@NonNull` annotation causes our handler to produce an explicit-params constructor (i.e. `public NNOREC(String a) {` instead of `public NNOREC {`) with `@NonNull`, and in the statements the null check. But (?) other eclipse versions might not, hence, we ignore content.
|
||||
import lombok.NonNull;
|
||||
public record NonNullOnRecordExistingConstructor(String a) {
|
||||
public NonNullOnRecordExistingConstructor {
|
||||
|
||||
Reference in new issue
Block a user