aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/WitherDeprecated.java
blob: f076d90e48b0cc70e6d71629a12f644311a9be1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);
	}
	@java.lang.Deprecated
	@java.lang.SuppressWarnings("all")
	public WitherDeprecated withJavadoc(final int javadoc) {
		return this.javadoc == javadoc ? this : new WitherDeprecated(this.annotation, javadoc);
	}
}