aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
authorpeichhorn <peichhor@web.de>2012-04-19 02:41:31 +0200
committerpeichhorn <peichhor@web.de>2012-04-19 02:41:31 +0200
commit3f408782de736a676ee19757894eb89c1f4ebf3b (patch)
treed7d64f1e91a9c7e624edae880c7a841be5b91ce2 /test/transform/resource/after-delombok
parent48e73a7180ac459d2949e66f2cacc46e08466fce (diff)
downloadlombok-3f408782de736a676ee19757894eb89c1f4ebf3b.tar.gz
lombok-3f408782de736a676ee19757894eb89c1f4ebf3b.tar.bz2
lombok-3f408782de736a676ee19757894eb89c1f4ebf3b.zip
fixed: @val didn't work with rawtypes in enhanced for loops
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/ValRawType.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/ValRawType.java b/test/transform/resource/after-delombok/ValRawType.java
new file mode 100644
index 00000000..dc297046
--- /dev/null
+++ b/test/transform/resource/after-delombok/ValRawType.java
@@ -0,0 +1,20 @@
+import java.util.List;
+
+public class ValRawType {
+
+ public void test() {
+ Element propElement = new Element();
+ for (final java.lang.Object attribute : propElement.attributes()) {
+ final ValRawType.Attribute attr = (Attribute)attribute;
+ }
+ }
+
+ static class Element {
+ public List attributes() {
+ return null;
+ }
+ }
+
+ static class Attribute {
+ }
+} \ No newline at end of file