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