mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
15 lines
344 B
Plaintext
15 lines
344 B
Plaintext
/**
|
|
* @name Override of method
|
|
* @description Finds methods that override com.example.Class.baseMethod
|
|
* @tags method
|
|
* override
|
|
*/
|
|
|
|
import java
|
|
|
|
from Method override, Method base
|
|
where base.hasName("baseMethod")
|
|
and base.getDeclaringType().hasQualifiedName("com.example", "Class")
|
|
and override.overrides+(base)
|
|
select override
|