I am writing an inspection/quick fix that works in JSP pages. I've got the inspection working, but I can't figure out how to create PsiStatements for insertion into the page. It seems like I need to create instances of JSPCodeBlock, JSPTemplateStatement and JSPText but it doesn't look like I can do that with the PsiElementFactory.
I have a reference to the following JspCodeBlock from my inspection:
and I need to add the following after the <dsp:form ...> tag:
Edited by: Todd Breiholz on Jun 4, 2008 10:33 PM - Changed title to indicate question