diff options
author | Roel Spilker <r.spilker@gmail.com> | 2012-01-30 19:48:12 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2012-01-30 19:48:12 +0100 |
commit | 55384884d380fba1a5fe024e1d82329d71c36f02 (patch) | |
tree | a19f69b9a4da56b58abb96e0a79d852eeb659bb0 /test/transform/resource/before/DelegateOnGetter.java | |
parent | 98875218ea3f6ba68f7f83d3e0458c9901db00f3 (diff) | |
parent | fc7ca61aeb3ee06c426573b5059e97532b601172 (diff) | |
download | lombok-55384884d380fba1a5fe024e1d82329d71c36f02.tar.gz lombok-55384884d380fba1a5fe024e1d82329d71c36f02.tar.bz2 lombok-55384884d380fba1a5fe024e1d82329d71c36f02.zip |
Merge branch 'master' of github.com:rzwitserloot/lombok
Diffstat (limited to 'test/transform/resource/before/DelegateOnGetter.java')
-rw-r--r-- | test/transform/resource/before/DelegateOnGetter.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/transform/resource/before/DelegateOnGetter.java b/test/transform/resource/before/DelegateOnGetter.java new file mode 100644 index 00000000..afe09ff4 --- /dev/null +++ b/test/transform/resource/before/DelegateOnGetter.java @@ -0,0 +1,18 @@ +import lombok.Delegate; +import lombok.Getter; + +class DelegateOnGetter { + + @Delegate @Getter(lazy=true) private final Bar bar = new Bar() { + public void setList(java.util.ArrayList<String> list) { + } + public int getInt() { + return 42; + } + }; + + private interface Bar { + void setList(java.util.ArrayList<java.lang.String> list); + int getInt(); + } +}
\ No newline at end of file |