Replies: 1 comment 4 replies
-
Hi @Lipuxy ; it's not immediately clear to me what you're trying to achieve; are you developing your own recipe based on that starter? The recipe in the starter If you mean to say there's a bug in the recipe implementation the best way to report that is over on rewrite-migrate-java: If you're looking to develop your own recipe it would help to know what changes you're looking to make, and what does and does not work. A fork or test case would then be most helpful, as from the details shared above I don't know what you've already changed, or are looking to do. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/moderneinc/rewrite-recipe-starter/blob/main/src/main/java/com/yourorg/NoGuavaListsNewArrayList.java
Line 85
method.getArguments().get(0));
The above line works fine for int
but if we pass String argument for method signature methodname(int,String,String,String)
and try to access argument 2 by using method.getArguments().get(1));
it fails .
What should be the alternative code to access String here ?
Beta Was this translation helpful? Give feedback.
All reactions