CodeQL queries 1.25
Skip to end of metadata
Go to start of metadata

Finds classes/interfaces that extend/implement com.example.Class

import java

from RefType type
where type.getASupertype+().hasQualifiedName("com.example", "Class")
select type