CodeQL queries 1.23

Skip to end of metadata
Go to start of metadata

Finds classes that subclass MyClass

import python

from ClassObject sub, ClassObject base
where
    base.getName() = "MyClass" and
    sub.getABaseType() = base
select sub