lahodaj opened a new pull request, #8637:
URL: https://github.com/apache/netbeans/pull/8637
Consider code like:
```
package test;
import java.util.List;
public class JavaApplication113 {
public List<String> test(String str) {
return null;
}
public static class SubClass extends JavaApplication113 {
@Override
public java.util.List<java.lang.String> test(java.lang.String str) {
return null;
}
}
}
```
put cursor at `JavaApplication113.test`, open the `Refactor/Change Method
Parameters`, and add a new parameter with type
`java.util.List<java.lang.String>` and name `par1`. The refactoring will use
`java.util.List<java.lang.String>` as the parameter type that is written in the
source code. I think imports should be properly resolved on every place where
the type is printed, and typically `java.util.List` should be imported, and the
inserted type should be `List<String>`.
This is what this PR is attempting to do.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists