aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/NonNullPlain.java
blob: 1a016fb42bb67c519edeae17d365fa29bd702f52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//version 8:
import java.lang.annotation.*;

@lombok.RequiredArgsConstructor
@lombok.Getter
@lombok.Setter
class NonNullPlain {
	@lombok.NonNull
	int i;
	@lombok.NonNull
	String s;
	@NotNull
	Object o;
	
	@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE})
	@Retention(RetentionPolicy.CLASS)
	public @interface NotNull {}
}