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

Member predicate GenericConstructor::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.

GenericConstructor getSourceDeclaration()