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