mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-03 07:13:15 +00:00
23 lines
606 B
Java
23 lines
606 B
Java
class WitherDeprecated {
|
|
@Deprecated
|
|
int annotation;
|
|
/**
|
|
* @deprecated
|
|
*/
|
|
int javadoc;
|
|
WitherDeprecated(int annotation, int javadoc) {
|
|
}
|
|
@java.lang.Deprecated
|
|
@java.lang.SuppressWarnings("all")
|
|
public WitherDeprecated withAnnotation(final int annotation) {
|
|
return this.annotation == annotation ? this : new WitherDeprecated(annotation, this.javadoc);
|
|
}
|
|
/**
|
|
* @deprecated
|
|
*/
|
|
@java.lang.Deprecated
|
|
@java.lang.SuppressWarnings("all")
|
|
public WitherDeprecated withJavadoc(final int javadoc) {
|
|
return this.javadoc == javadoc ? this : new WitherDeprecated(this.annotation, javadoc);
|
|
}
|
|
} |