Files
codeql/java/ql/examples/snippets/qualifiedthis.ql
2019-07-26 17:47:11 +02:00

15 lines
269 B
Plaintext

/**
* @id java/examples/qualifiedthis
* @name Qualified 'this' access
* @description Finds 'this' accesses that are qualified by a type name
* @tags this
* access
* qualifier
*/
import java
from ThisAccess t
where exists(t.getQualifier())
select t