PyClassTypeImpl (@NotNull final PsiElement anchor, @NotNull final String classQualifiedName, final boolean isDefinition) { final PyClass pyClass = PyPsiFacade.getInstance(anchor.getProject()).createClassByQName(classQualifiedName, anchor); if (pyClass == null) { return null; } return new PyClassTypeImpl(pyClass, isDefinition); }