Open 15klli opened 4 years ago
when I input dto.getId() and click ctrl+alt+v, the code beteween @NotNull Integer id = dto.getId()
dto.getId()
ctrl+alt+v
@NotNull Integer id = dto.getId()
@Data public class Dto{ @NotNull private Integer id; } Expected behavior I don't need @NotNull at the beginning of the statement.
@Data public class Dto{ @NotNull private Integer id; }
I don't need @NotNull at the beginning of the statement.
@NotNull
@Data public class TestDto { @NotNull(message = "d") private String hhh; @NotNull private String h; public static void main(String[] args) { @NotNull String h = new TestDto().getH(); } }
@15klli Lombok doesn't have annotation "NotNull" only "NonNull". Why do you think that that completion is the result of Lombok plugin?
Short description
when I input
dto.getId()
and clickctrl+alt+v
, the code beteween@NotNull Integer id = dto.getId()
Version information
Simple Demo