aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/DelegateWithDeprecated.java
blob: 011eaf36e3886521ab1a5ed19bfc1e781f63ecd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
class DelegateWithDeprecated {

	private Bar bar;

	private interface Bar {

		@Deprecated
		void deprecatedAnnotation();
		/** @deprecated */
		void deprecatedComment();

		void notDeprecated();
	}

	@java.lang.Deprecated
	@java.lang.SuppressWarnings("all")
	public void deprecatedAnnotation() {
		this.bar.deprecatedAnnotation();
	}
	@java.lang.Deprecated
	@java.lang.SuppressWarnings("all")
	public void deprecatedComment() {
		this.bar.deprecatedComment();
	}
	@java.lang.SuppressWarnings("all")
	public void notDeprecated() {
		this.bar.notDeprecated();
	}
}