CodeQL library for Java/Kotlin
codeql/java-all 1.1.0 (changelog, source)
Search

Predicate referencedInXmlFile

Holds if a field’s name and declaring type are referenced in an XML file. Usually, this implies that the field may be accessed reflectively.

Import path

import semmle.code.java.Reflection
predicate referencedInXmlFile(Field f)