Skip to content

class type missing after changeType #21

Description

@wisechengyi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions