blob: 2a4fdf988b2c6a0a58d35be171fe2be1b87cb0cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import lombok.Delegate;
class DelegateWithDeprecated {
private interface Bar {
@Deprecated void deprecatedAnnotation();
void deprecatedComment();
void notDeprecated();
}
private @Delegate Bar bar;
public @java.lang.Deprecated @java.lang.SuppressWarnings("all") void deprecatedAnnotation() {
this.bar.deprecatedAnnotation();
}
public @java.lang.Deprecated @java.lang.SuppressWarnings("all") void deprecatedComment() {
this.bar.deprecatedComment();
}
public @java.lang.SuppressWarnings("all") void notDeprecated() {
this.bar.notDeprecated();
}
DelegateWithDeprecated() {
super();
}
}
|