1) I agree that we should get the framework in case and try to find at least one rule we can test the basic functionality on, even if its a fake custom rule that replaces <hello></hello> with <world></world>
2) From the Eclipse point of view I would need an API I could call that would say based on this current input you give me what to replace it with. Then if memory severs correctly what your API could return is a template that then Eclipse UI asks the user to fill out, like here is what we are going to replace the code with, but give me thge name of this variable or method or property that I can't infer from the existing code. Make sense?
From: "Lincoln Baxter, III" <lincolnbaxter@gmail.com>
To: "Windup-dev List" <windup-dev@lists.jboss.org>
Sent: Tuesday, April 28, 2015 1:52:27 PM
Subject: Re: [windup-dev] Sugested Fix Hints
Mostly, I'm having trouble thinking of any cases where we actually know the code that we could replace. I think this is something we could begin to do, but it is largely a rule quality issue. We just don't have the expert knowledge to supply this kind of info yet. It's a problem we're thinking about. That said, having the functionality in place for it might be a good idea.
Can templates be provided programmatically?
_______________________________________________
windup-dev mailing list
windup-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/windup-dev