aboutsummaryrefslogtreecommitdiff
path: root/website2/usageExamples/NonNullExample_pre.jpage
blob: 47556ce711b1ead4ef69dda950111c91ef05555f (plain)
1
2
3
4
5
6
7
8
9
10
import lombok.NonNull;

public class NonNullExample extends Something {
	private String name;
	
	public NonNullExample(@NonNull Person person) {
		super("Hello");
		this.name = person.getName();
	}
}