New Java 5 clone() inspection?
I think it would be a nice idea to have an inspection that fires for language
level 5.0 if Foo.clone() has a return type other than Foo.
There is covariance so we should make use of it to prevent unnecessary casts.
What do you think?
Please sign in to leave a comment.
Good one. Please create a JIRA item.
--Dave Griffith
Thanks!
http://www.jetbrains.net/jira/browse/IDEA-2707