blob: cd123fe80e44d2f9686b0131d00fed57aeb6af40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import lombok.With;
class WithMethodMarkedDeprecated {
@Deprecated @With int annotation;
@With int javadoc;
WithMethodMarkedDeprecated(int annotation, int javadoc) {
super();
}
public @java.lang.Deprecated @java.lang.SuppressWarnings("all") WithMethodMarkedDeprecated withAnnotation(final int annotation) {
return ((this.annotation == annotation) ? this : new WithMethodMarkedDeprecated(annotation, this.javadoc));
}
public @java.lang.Deprecated @java.lang.SuppressWarnings("all") WithMethodMarkedDeprecated withJavadoc(final int javadoc) {
return ((this.javadoc == javadoc) ? this : new WithMethodMarkedDeprecated(this.annotation, javadoc));
}
}
|