mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-15 22:21:59 +00:00
15 lines
675 B
Java
15 lines
675 B
Java
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));
|
|
}
|
|
}
|