aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/BuilderSingularNullBehavior1.java1
-rw-r--r--test/transform/resource/before/BuilderWithNonNull.java1
-rw-r--r--test/transform/resource/before/BuilderWithNonNullWithSetterPrefix.java1
-rw-r--r--test/transform/resource/before/ConstructorsWithAccessors.java2
-rw-r--r--test/transform/resource/before/DataOnLocalClass.java1
-rw-r--r--test/transform/resource/before/GetterOnClass.java1
-rw-r--r--test/transform/resource/before/NonNullOnParameter.java1
-rw-r--r--test/transform/resource/before/NonNullOnParameterAbstract.java1
-rw-r--r--test/transform/resource/before/NonNullPlain.java1
-rw-r--r--test/transform/resource/before/NonNullWithAlternateException.java1
-rw-r--r--test/transform/resource/before/NonNullWithAssertion.java1
-rw-r--r--test/transform/resource/before/NonNullWithGuava.java1
-rw-r--r--test/transform/resource/before/NonNullWithJdk.java2
-rw-r--r--test/transform/resource/before/NonNullWithSneakyThrows.java1
-rw-r--r--test/transform/resource/before/NullAnnotatedCheckerFrameworkSuperBuilder.java1
-rw-r--r--test/transform/resource/before/SetterOnClass.java1
-rw-r--r--test/transform/resource/before/StaticConstructor.java1
-rw-r--r--test/transform/resource/before/SuperBuilderWithNonNull.java1
-rw-r--r--test/transform/resource/before/WithOnClass.java2
19 files changed, 20 insertions, 2 deletions
diff --git a/test/transform/resource/before/BuilderSingularNullBehavior1.java b/test/transform/resource/before/BuilderSingularNullBehavior1.java
index bcf473a4..add00ea7 100644
--- a/test/transform/resource/before/BuilderSingularNullBehavior1.java
+++ b/test/transform/resource/before/BuilderSingularNullBehavior1.java
@@ -1,3 +1,4 @@
+//version 8:
//CONF: lombok.addNullAnnotations = checkerframework
//CONF: lombok.nonNull.exceptionType = assertion
import java.util.List;
diff --git a/test/transform/resource/before/BuilderWithNonNull.java b/test/transform/resource/before/BuilderWithNonNull.java
index 03a54326..b0c1d36a 100644
--- a/test/transform/resource/before/BuilderWithNonNull.java
+++ b/test/transform/resource/before/BuilderWithNonNull.java
@@ -1,3 +1,4 @@
+//version 8:
@lombok.Builder
class BuilderWithNonNull {
@lombok.NonNull
diff --git a/test/transform/resource/before/BuilderWithNonNullWithSetterPrefix.java b/test/transform/resource/before/BuilderWithNonNullWithSetterPrefix.java
index 8ef1f70e..7c1aa983 100644
--- a/test/transform/resource/before/BuilderWithNonNullWithSetterPrefix.java
+++ b/test/transform/resource/before/BuilderWithNonNullWithSetterPrefix.java
@@ -1,3 +1,4 @@
+//version 8:
@lombok.Builder(setterPrefix = "with")
class BuilderWithNonNullWithSetterPrefix {
@lombok.NonNull
diff --git a/test/transform/resource/before/ConstructorsWithAccessors.java b/test/transform/resource/before/ConstructorsWithAccessors.java
index e67a47ce..fc72be55 100644
--- a/test/transform/resource/before/ConstructorsWithAccessors.java
+++ b/test/transform/resource/before/ConstructorsWithAccessors.java
@@ -1,3 +1,4 @@
+//version 8:
@lombok.AllArgsConstructor @lombok.experimental.Accessors(prefix={"p", "_"}) class ConstructorsWithAccessors {
int plower;
int pUpper;
@@ -11,4 +12,3 @@
@lombok.NonNull Integer _huh;
@lombok.NonNull final Integer __huh2;
}
-
diff --git a/test/transform/resource/before/DataOnLocalClass.java b/test/transform/resource/before/DataOnLocalClass.java
index b1272b7e..e4fa4cd5 100644
--- a/test/transform/resource/before/DataOnLocalClass.java
+++ b/test/transform/resource/before/DataOnLocalClass.java
@@ -1,3 +1,4 @@
+//version 8:
import lombok.Data;
class DataOnLocalClass1 {
public static void main(String[] args) {
diff --git a/test/transform/resource/before/GetterOnClass.java b/test/transform/resource/before/GetterOnClass.java
index 0a38b386..f44d2556 100644
--- a/test/transform/resource/before/GetterOnClass.java
+++ b/test/transform/resource/before/GetterOnClass.java
@@ -1,3 +1,4 @@
+//version 8:
@lombok.Getter
class GetterOnClass1 {
@lombok.Getter(lombok.AccessLevel.NONE)
diff --git a/test/transform/resource/before/NonNullOnParameter.java b/test/transform/resource/before/NonNullOnParameter.java
index 22aceac7..43175832 100644
--- a/test/transform/resource/before/NonNullOnParameter.java
+++ b/test/transform/resource/before/NonNullOnParameter.java
@@ -1,3 +1,4 @@
+//version 8:
class NonNullOnParameter extends Thread {
NonNullOnParameter(@lombok.NonNull String arg) {
this(arg, "");
diff --git a/test/transform/resource/before/NonNullOnParameterAbstract.java b/test/transform/resource/before/NonNullOnParameterAbstract.java
index 16691184..0508be42 100644
--- a/test/transform/resource/before/NonNullOnParameterAbstract.java
+++ b/test/transform/resource/before/NonNullOnParameterAbstract.java
@@ -1,3 +1,4 @@
+//version 8:
abstract class NonNullOnParameterAbstract {
public void test(@lombok.NonNull String arg) {
System.out.println("Hey");
diff --git a/test/transform/resource/before/NonNullPlain.java b/test/transform/resource/before/NonNullPlain.java
index a438d1d4..1a016fb4 100644
--- a/test/transform/resource/before/NonNullPlain.java
+++ b/test/transform/resource/before/NonNullPlain.java
@@ -1,3 +1,4 @@
+//version 8:
import java.lang.annotation.*;
@lombok.RequiredArgsConstructor
diff --git a/test/transform/resource/before/NonNullWithAlternateException.java b/test/transform/resource/before/NonNullWithAlternateException.java
index c47f5727..28b7be6d 100644
--- a/test/transform/resource/before/NonNullWithAlternateException.java
+++ b/test/transform/resource/before/NonNullWithAlternateException.java
@@ -1,3 +1,4 @@
+//version 8:
//CONF: lombok.nonNull.exceptionType = IllegalArgumentException
public class NonNullWithAlternateException {
diff --git a/test/transform/resource/before/NonNullWithAssertion.java b/test/transform/resource/before/NonNullWithAssertion.java
index c3d271a6..1e282ffa 100644
--- a/test/transform/resource/before/NonNullWithAssertion.java
+++ b/test/transform/resource/before/NonNullWithAssertion.java
@@ -1,3 +1,4 @@
+//version 8:
//CONF: lombok.nonNull.exceptionType = Assertion
public class NonNullWithAssertion {
diff --git a/test/transform/resource/before/NonNullWithGuava.java b/test/transform/resource/before/NonNullWithGuava.java
index dc877daa..e592ee14 100644
--- a/test/transform/resource/before/NonNullWithGuava.java
+++ b/test/transform/resource/before/NonNullWithGuava.java
@@ -1,3 +1,4 @@
+//version 8:
//CONF: lombok.nonNull.exceptionType = Guava
import static com.google.common.base.Preconditions.*;
public class NonNullWithGuava {
diff --git a/test/transform/resource/before/NonNullWithJdk.java b/test/transform/resource/before/NonNullWithJdk.java
index c8cbf2ee..5c3d03a5 100644
--- a/test/transform/resource/before/NonNullWithJdk.java
+++ b/test/transform/resource/before/NonNullWithJdk.java
@@ -1,4 +1,4 @@
-//version 7:
+//version 8:
//CONF: lombok.nonNull.exceptionType = Jdk
import static java.util.Objects.*;
public class NonNullWithJdk {
diff --git a/test/transform/resource/before/NonNullWithSneakyThrows.java b/test/transform/resource/before/NonNullWithSneakyThrows.java
index 35f78a7f..00c03f04 100644
--- a/test/transform/resource/before/NonNullWithSneakyThrows.java
+++ b/test/transform/resource/before/NonNullWithSneakyThrows.java
@@ -1,3 +1,4 @@
+//version 8:
class NonNullWithSneakyThrows {
@lombok.SneakyThrows void test(@lombok.NonNull String in) {
System.out.println(in);
diff --git a/test/transform/resource/before/NullAnnotatedCheckerFrameworkSuperBuilder.java b/test/transform/resource/before/NullAnnotatedCheckerFrameworkSuperBuilder.java
index 39bb0fcc..eea118cb 100644
--- a/test/transform/resource/before/NullAnnotatedCheckerFrameworkSuperBuilder.java
+++ b/test/transform/resource/before/NullAnnotatedCheckerFrameworkSuperBuilder.java
@@ -1,3 +1,4 @@
+//version 8:
//CONF: lombok.addNullAnnotations = checkerframework
import java.util.List;
import lombok.Singular;
diff --git a/test/transform/resource/before/SetterOnClass.java b/test/transform/resource/before/SetterOnClass.java
index a7629ff0..b7ab4177 100644
--- a/test/transform/resource/before/SetterOnClass.java
+++ b/test/transform/resource/before/SetterOnClass.java
@@ -1,3 +1,4 @@
+//version 8:
@lombok.Setter
class SetterOnClass1 {
@lombok.Setter(lombok.AccessLevel.NONE)
diff --git a/test/transform/resource/before/StaticConstructor.java b/test/transform/resource/before/StaticConstructor.java
index eff1fa9b..7b720c6f 100644
--- a/test/transform/resource/before/StaticConstructor.java
+++ b/test/transform/resource/before/StaticConstructor.java
@@ -1,3 +1,4 @@
+//version 8:
//CONF: lombok.addNullAnnotations = checkerframework
import lombok.AllArgsConstructor;
@AllArgsConstructor(staticName = "of")
diff --git a/test/transform/resource/before/SuperBuilderWithNonNull.java b/test/transform/resource/before/SuperBuilderWithNonNull.java
index 34668bbc..7287c688 100644
--- a/test/transform/resource/before/SuperBuilderWithNonNull.java
+++ b/test/transform/resource/before/SuperBuilderWithNonNull.java
@@ -1,3 +1,4 @@
+//version 8:
import java.util.List;
public class SuperBuilderWithNonNull {
diff --git a/test/transform/resource/before/WithOnClass.java b/test/transform/resource/before/WithOnClass.java
index a6215b54..fb6350e7 100644
--- a/test/transform/resource/before/WithOnClass.java
+++ b/test/transform/resource/before/WithOnClass.java
@@ -1,3 +1,5 @@
+//version 8:
+
@lombok.With
class WithOnClass1 {
@lombok.With(lombok.AccessLevel.NONE)