Hi,
In JSP support notes, it is mentioned that to write rules to check Java code inside scriptlets, you need to manually manipulate string.
I'm trying to write a rule which looks for any System.out.print and throws a violation.
My program could find the SOP, but how do I add violation to the report(addviolation in AbstractRule class takes node and data)?
Thanks in advance,
Sakthi