-
1. Re: QuickFixTransformation sample
jsightler Dec 4, 2017 11:52 AM (in response to rahamathjamal)1 of 1 people found this helpfulIt is possible to implement a complex fix using a Java based rule. Can you give us the details on what you are trying to accomplish?
-
2. Re: QuickFixTransformation sample
rahamathjamal Dec 4, 2017 12:05 PM (in response to jsightler)Hi
Thanks for replying Jess.
I am trying to implement a rule that will fix old api call (may be a deprecated api)to new api call.
How to handle this? Do we have any code samples ? Kindly share.
-
3. Re: QuickFixTransformation sample
jsightler Dec 4, 2017 2:08 PM (in response to rahamathjamal)1 of 1 people found this helpfulIdentifying the line that is deprecated should be fairly easy. The difficulty is going to be in how complex the change to the deprecated method will be. If it is as simple as changing the method name, then doing this with a quickfix should be easy. If it is significantly more involved, then you will likely need a lot of custom code to accomplish this.
-
4. Re: QuickFixTransformation sample
rahamathjamal Dec 5, 2017 10:39 AM (in response to jsightler)Thanks Jess for your reply.
Can you provide me with a sample Java rule that will transform a basic API replacement.
for instance [WINDUP-1333] Transformation Quickfix for Portable JNDI namespace - JBoss Issue Tracker