diff options
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r-- | test/transform/resource/before/DelegateTypesAndExcludes.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/transform/resource/before/DelegateTypesAndExcludes.java b/test/transform/resource/before/DelegateTypesAndExcludes.java new file mode 100644 index 00000000..da7fc4cb --- /dev/null +++ b/test/transform/resource/before/DelegateTypesAndExcludes.java @@ -0,0 +1,28 @@ +import lombok.Delegate; +class DelegatePlain { + @Delegate(types = Bar.class) + private final BarImpl bar = new BarImpl(); + @Delegate(types = Foo.class, excludes = Bar.class) + private final FooImpl foo = new FooImpl(); + + private static class FooImpl implements Foo { + public void foo() { + } + + public void bar(java.util.ArrayList<java.lang.String> list) { + } + } + + private static class BarImpl implements Bar { + public void bar(java.util.ArrayList<java.lang.String> list) { + } + } + + private static interface Foo extends Bar { + void foo(); + } + + private static interface Bar { + void bar(java.util.ArrayList<java.lang.String> list); + } +}
\ No newline at end of file |