mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 06:17:44 +00:00
Added copying of @CheckForNull from a field to autogenerated getters and setters, just like @Nullable is copied.
Implements feature request issue 128.
This commit is contained in:
1 parent
e693672cd4
commit
d5ba04ca59
1 file changed
+1
-1
@@ -84,7 +84,7 @@ public class TransformationsUtil {
|
||||
"^(boolean|byte|short|int|long|float|double|char)$");
|
||||
|
||||
public static final Pattern NON_NULL_PATTERN = Pattern.compile("^nonnull$", Pattern.CASE_INSENSITIVE);
|
||||
public static final Pattern NULLABLE_PATTERN = Pattern.compile("^nullable$", Pattern.CASE_INSENSITIVE);
|
||||
public static final Pattern NULLABLE_PATTERN = Pattern.compile("^(?:nullable|checkfornull)$", Pattern.CASE_INSENSITIVE);
|
||||
|
||||
/**
|
||||
* Generates a getter name from a given field name.
|
||||
|
||||
Reference in new issue
Block a user