mirror of
https://github.com/tiennm99/lombok.git
synced 2026-08-01 18:22:54 +00:00
15 lines
634 B
Java
15 lines
634 B
Java
import lombok.experimental.Wither;
|
|
class WitherDeprecated {
|
|
@Deprecated @Wither int annotation;
|
|
@Wither int javadoc;
|
|
WitherDeprecated(int annotation, int javadoc) {
|
|
super();
|
|
}
|
|
public @java.lang.Deprecated @java.lang.SuppressWarnings("all") WitherDeprecated withAnnotation(final int annotation) {
|
|
return ((this.annotation == annotation) ? this : new WitherDeprecated(annotation, this.javadoc));
|
|
}
|
|
public @java.lang.Deprecated @java.lang.SuppressWarnings("all") WitherDeprecated withJavadoc(final int javadoc) {
|
|
return ((this.javadoc == javadoc) ? this : new WitherDeprecated(this.annotation, javadoc));
|
|
}
|
|
}
|