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

Predicate reflectivelyRead

Holds if f is a field that may be read by reflection.

Import path

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