Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.4, 2.0.4
-
None
Description
For this Groovy class:
class TaggedsMap extends TreeMap { TaggedsMap() { super() } TaggedsMap(Comparator comparator) { super(comparator)} TaggedsMap(Map m) { super() putAll( m) } TaggedsMap(SortedMap m) { super() putAll (m) } }
The following stub is generated:
public class TaggedsMap extends java.util.TreeMap implements groovy.lang.GroovyObject { public TaggedsMap () { super ((java.util.SortedMap<K, java.lang.Object extends V>)null); } public TaggedsMap (java.util.Comparator comparator) { super ((java.util.SortedMap<K, java.lang.Object extends V>)null); } public TaggedsMap (java.util.Map m) { super ((java.util.SortedMap<K, java.lang.Object extends V>)null); } public TaggedsMap (java.util.SortedMap m) { super ((java.util.SortedMap<K, java.lang.Object extends V>)null); } }
which isn't a valid Java code.
Please refer to http://youtrack.jetbrains.com/issue/IDEA-97668 for the full project to reproduce.