PyClass (String name, boolean inherited) { if (name == null) return null; NameFinder<PyClass> proc = new NameFinder<>(TypeEvalContext.codeInsightFallback(getProject()), name); visitNestedClasses(proc, inherited); return proc.getResult(); }