refactor code to use a new static field #4221
Answered
by
cushon
sebastian-toepfer
asked this question in
Q&A
-
I have a project where I use Json-P massively. Now I have realized that I am using it in a very ineffective way. As described at jakartaee/jsonp-api#154. Now I would like to replace all static method calls of class Json with calls against a static field of type JsonProvider. I like refaster, so I ask is it possible to do it with refaster? let speak the code
should be replaced by:
|
Beta Was this translation helpful? Give feedback.
Answered by
cushon
Dec 19, 2023
Replies: 1 comment 2 replies
-
Unfortunately his isn't something refaster is currently able to do, it doesn't have a way to add a new field declaration. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
sebastian-toepfer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately his isn't something refaster is currently able to do, it doesn't have a way to add a new field declaration.