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

Predicate getAUseOfViewWithId

Gets a use of the view that has the given id. (that is, from a call to a method like findViewById)

Import path

import semmle.code.java.frameworks.android.Layout
MethodCall getAUseOfViewWithId(string id)