PMD Version:
6.19
Description:
(New to PMD & Xpath so please forgive a newbie question!)
I can see the SoqlExpression in the AST but I need to parse the SOQL itself, however there is no Image attribute (is this the correct attribute I should be looking for??), nor is there any other further break down element that I can interrogate. I wish to avoid writing a Java class if at all possible and simply use Xpath.
Code Sample demonstrating the issue:
public class Foo { public void test1() { Account acc = [Select 1 FROM Account ]; Account acc = [Select 2 FROM Account where x = x]; Account acc = [Select 2 FROM Account where x = x WITH SECURITY_ENFORCED]; } }
XPath-Expression: //SoqlExpression
Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]
Designer from CLI
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4