mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-25 20:01:38 +00:00
11 lines
200 B
Plaintext
11 lines
200 B
Plaintext
import lombok.NonNull;
|
|
|
|
public class NonNullExample extends Something {
|
|
private String name;
|
|
|
|
public NonNullExample(@NonNull Person person) {
|
|
super("Hello");
|
|
this.name = person.getName();
|
|
}
|
|
}
|