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

Predicate exactVirtualMethod

A conservative analysis that returns a single method - if we can establish one - that will be the target of the virtual dispatch.

Import path

import semmle.code.java.dispatch.VirtualDispatch
Method exactVirtualMethod(MethodCall c)