Query<PyClass> (final PyClass superClass, final boolean checkDeepInheritance) { final SearchParameters parameters = new SearchParameters(superClass, checkDeepInheritance); return INSTANCE.createUniqueResultsQuery(parameters); }