blob: d4604af52b0e758db0ae158bd6413e4c6ff587a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import lombok.With;
class WithMethodMarkedDeprecatedAnnOnly {
@Deprecated @With int annotation;
WithMethodMarkedDeprecatedAnnOnly(int annotation) {
super();
}
/**
* @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed).
*/
public @java.lang.Deprecated @java.lang.SuppressWarnings("all") WithMethodMarkedDeprecatedAnnOnly withAnnotation(final int annotation) {
return ((this.annotation == annotation) ? this : new WithMethodMarkedDeprecatedAnnOnly(annotation));
}
}
|