Update docs/pages/release_notes.md
Co-authored-by: Clément Fournier <clem.fournier@proton.me>
This commit is contained in:
1 parent
28c5cd7114
commit
56f12d41ea
1 file changed
+1
-1
@@ -21,7 +21,7 @@ Up to now, all AST node getters would be exposed to XPath, as long as the return
|
||||
Since this release, PMD will also expose any getter returning a collection of any supported type as a sequence through an XPath attribute. They would require to use apropriate XQuery functions to manipulate the sequence. So for instance, to detect any given `ASTUserClass` that implements `Queueable`, it is now possible to write:
|
||||
|
||||
```xml
|
||||
/UserClass[not(empty(index-of(@InterfaceNames, 'Queueable')))]
|
||||
/UserClass[@InterfaceNames = 'Queueable']
|
||||
```
|
||||
|
||||
### ✨ New rules
|
||||
|
||||
Reference in new issue
Block a user