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

Member predicate GenericMethod::getSourceDeclaration

Gets the source declaration of this callable.

For parameterized instances of generic methods, the source declaration is the corresponding generic method.

For non-parameterized callables declared inside a parameterized instance of a generic type, the source declaration is the corresponding callable in the generic type.

For all other callables, the source declaration is the callable itself.

GenericSrcMethod getSourceDeclaration()