aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2020-02-11 14:18:49 +0100
committerGitHub <noreply@github.com>2020-02-11 14:18:49 +0100
commit39c2903c885f52cb99e36f0a0c896bcca2bc794f (patch)
treef3940f21ccd9dc4b1f9e1cfcde33d144b72d2ba5 /test/transform/resource/before
parentc4223d1dcdf27917aa07b887774ea35f218d7b1b (diff)
parent0ab433b41a6d2afa446d7e46204531c1efa606e2 (diff)
downloadlombok-39c2903c885f52cb99e36f0a0c896bcca2bc794f.tar.gz
lombok-39c2903c885f52cb99e36f0a0c896bcca2bc794f.tar.bz2
lombok-39c2903c885f52cb99e36f0a0c896bcca2bc794f.zip
Merge pull request #2362 from janrieke/superBuilderNestedGenericTypes
SuperBuilder javac fix for nested generic types
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/SuperBuilderNestedGenericTypes.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/before/SuperBuilderNestedGenericTypes.java b/test/transform/resource/before/SuperBuilderNestedGenericTypes.java
new file mode 100644
index 00000000..c463357e
--- /dev/null
+++ b/test/transform/resource/before/SuperBuilderNestedGenericTypes.java
@@ -0,0 +1,12 @@
+public class SuperBuilderNestedGenericTypes {
+ @lombok.experimental.SuperBuilder
+ public static abstract class Generic<T extends Generic<?>> {
+ }
+
+ @lombok.experimental.SuperBuilder
+ public static abstract class NestedGeneric<T extends OtherGeneric<?>> extends Generic<NestedGeneric<? extends OtherGeneric<?>>> {
+ }
+
+ public interface OtherGeneric<T> {
+ }
+}