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

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

Callable getSourceDeclaration ( )