CodeQL queries 1.24

Skip to end of metadata
Go to start of metadata

Finds places where we call `new com.example.Class(...)`

import java

from ClassInstanceExpr new
where new.getConstructedType().hasQualifiedName("com.example", "Class")
select new