import java from ThisAccess t where exists(t.getQualifier()) select t
Finds 'this' accesses that are qualified by a type name