rewrite icon indicating copy to clipboard operation
rewrite copied to clipboard

class type missing after changeType

Open wisechengyi opened this issue 6 years ago • 2 comments

Hi,

Thanks for making this awesome tool!

To start, I ran into this one issue. If I do

changeType("com.example.util.collection.Optional", "com.google.common.base.Optional")

The result looks like:

-import com.example.util.collection.Optional;
+import com.google.common.base.Optional;
...
-    @NotNull private final List<Entry<K, Optional<V>>> x = y
+    @NotNull private final List<Entry<K, Optional>> x = y;

but <V> is missing. Does it look like a bug, or is there something I can set to preserve the type?

wisechengyi avatar Jun 15 '18 04:06 wisechengyi