From 3f408782de736a676ee19757894eb89c1f4ebf3b Mon Sep 17 00:00:00 2001 From: peichhorn Date: Thu, 19 Apr 2012 02:41:31 +0200 Subject: fixed: @val didn't work with rawtypes in enhanced for loops --- .../resource/after-delombok/ValRawType.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/transform/resource/after-delombok/ValRawType.java (limited to 'test/transform/resource/after-delombok') 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 -- cgit