blob: b186dabfd16f8007af3e1796a36c7fbcba1f48ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
public interface WithNested<Z> {
class IAmStaticReally {
final String x;
@java.lang.SuppressWarnings("all")
public IAmStaticReally(final String x) {
this.x = x;
}
/**
* @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed).
*/
@java.lang.SuppressWarnings("all")
public WithNested.IAmStaticReally withX(final String x) {
return this.x == x ? this : new WithNested.IAmStaticReally(x);
}
}
}
|