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)