XSourcePosition (String typeName) { XSourcePosition currentPosition = getCurrentFrameSourcePosition(); final PsiFile file = getPsiFile(currentPosition); if (typeName == null || !(file instanceof PyFile)) return null; final PyType pyType = resolveTypeFromString(typeName, file); return pyType == null ? null : typeToPosition(pyType); }