aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/WitherDeprecated.java
blob: 29192012da6c0577dbcd75fd07717dfa2b1f3806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);
	}
}