blob: 530325198718203b1f7b956ebd6b6a597c8e146d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
class SkipSuppressWarnings {
private @lombok.Getter String field = "";
private final @lombok.Getter(lazy = true) java.util.concurrent.atomic.AtomicReference<java.lang.Object> field2 = new java.util.concurrent.atomic.AtomicReference<java.lang.Object>();
SkipSuppressWarnings() {
super();
}
public String getField() {
return this.field;
}
public @java.lang.SuppressWarnings({"unchecked"}) String getField2() {
java.lang.Object value = this.field2.get();
if ((value == null))
{
synchronized (this.field2)
{
value = this.field2.get();
if ((value == null))
{
final String actualValue = "";
value = ((actualValue == null) ? this.field2 : actualValue);
this.field2.set(value);
}
}
}
return (String) ((value == this.field2) ? null : value);
}
}
|