CodeQL library for Java/Kotlin
codeql/java-all 1.1.0 (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)