mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
14 lines
282 B
Plaintext
14 lines
282 B
Plaintext
/**
|
|
* @name Call to constructor
|
|
* @description Finds places where we call `new com.example.Class(...)`
|
|
* @tags call
|
|
* constructor
|
|
* new
|
|
*/
|
|
|
|
import java
|
|
|
|
from ClassInstanceExpr new
|
|
where new.getConstructedType().hasQualifiedName("com.example", "Class")
|
|
select new
|