PyType (@NotNull PyCallable callable, @NotNull TypeEvalContext context) { if (PyiUtil.isInsideStub(callable)) { return null; } final PyCallable callableSkeleton = PyUserSkeletonsUtil.getUserSkeletonWithContext(callable, context); if (callableSkeleton != null) { return context.getType(callableSkeleton); } return null; }