aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/GetterLazyNative.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/GetterLazyNative.java')
-rw-r--r--test/transform/resource/after-delombok/GetterLazyNative.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/transform/resource/after-delombok/GetterLazyNative.java b/test/transform/resource/after-delombok/GetterLazyNative.java
index b9d471ff..f43d5490 100644
--- a/test/transform/resource/after-delombok/GetterLazyNative.java
+++ b/test/transform/resource/after-delombok/GetterLazyNative.java
@@ -8,7 +8,7 @@ class GetterLazyNative {
private final java.util.concurrent.atomic.AtomicReference<java.lang.Object> doubleField = new java.util.concurrent.atomic.AtomicReference<java.lang.Object>();
private final java.util.concurrent.atomic.AtomicReference<java.lang.Object> charField = new java.util.concurrent.atomic.AtomicReference<java.lang.Object>();
private final java.util.concurrent.atomic.AtomicReference<java.lang.Object> intArrayField = new java.util.concurrent.atomic.AtomicReference<java.lang.Object>();
- @java.lang.SuppressWarnings("all")
+ @java.lang.SuppressWarnings({"all", "unchecked"})
public boolean isBooleanField() {
java.lang.Object value = this.booleanField.get();
if (value == null) {
@@ -23,7 +23,7 @@ class GetterLazyNative {
}
return (java.lang.Boolean) value;
}
- @java.lang.SuppressWarnings("all")
+ @java.lang.SuppressWarnings({"all", "unchecked"})
public byte getByteField() {
java.lang.Object value = this.byteField.get();
if (value == null) {
@@ -38,7 +38,7 @@ class GetterLazyNative {
}
return (java.lang.Byte) value;
}
- @java.lang.SuppressWarnings("all")
+ @java.lang.SuppressWarnings({"all", "unchecked"})
public short getShortField() {
java.lang.Object value = this.shortField.get();
if (value == null) {
@@ -53,7 +53,7 @@ class GetterLazyNative {
}
return (java.lang.Short) value;
}
- @java.lang.SuppressWarnings("all")
+ @java.lang.SuppressWarnings({"all", "unchecked"})
public int getIntField() {
java.lang.Object value = this.intField.get();
if (value == null) {
@@ -68,7 +68,7 @@ class GetterLazyNative {
}
return (java.lang.Integer) value;
}
- @java.lang.SuppressWarnings("all")
+ @java.lang.SuppressWarnings({"all", "unchecked"})
public long getLongField() {
java.lang.Object value = this.longField.get();
if (value == null) {
@@ -83,7 +83,7 @@ class GetterLazyNative {
}
return (java.lang.Long) value;
}
- @java.lang.SuppressWarnings("all")
+ @java.lang.SuppressWarnings({"all", "unchecked"})
public float getFloatField() {
java.lang.Object value = this.floatField.get();
if (value == null) {
@@ -98,7 +98,7 @@ class GetterLazyNative {
}
return (java.lang.Float) value;
}
- @java.lang.SuppressWarnings("all")
+ @java.lang.SuppressWarnings({"all", "unchecked"})
public double getDoubleField() {
java.lang.Object value = this.doubleField.get();
if (value == null) {
@@ -113,7 +113,7 @@ class GetterLazyNative {
}
return (java.lang.Double) value;
}
- @java.lang.SuppressWarnings("all")
+ @java.lang.SuppressWarnings({"all", "unchecked"})
public char getCharField() {
java.lang.Object value = this.charField.get();
if (value == null) {
@@ -128,7 +128,7 @@ class GetterLazyNative {
}
return (java.lang.Character) value;
}
- @java.lang.SuppressWarnings("all")
+ @java.lang.SuppressWarnings({"all", "unchecked"})
public int[] getIntArrayField() {
java.lang.Object value = this.intArrayField.get();
if (value == null) {