Ref<PyType> (@NotNull PsiElement target, @NotNull TypeEvalContext context, @Nullable PsiElement anchor) { for (PyTypeProvider provider : PyTypeProvider.EP_NAME.getExtensionList()) { final Ref<PyType> result = provider.getReferenceType(target, context, anchor); if (result != null) { return result; } } return null; }