PsiElement (@NotNull PyFile module, @NotNull String name, @NotNull PyResolveContext resolveContext) { for (PyCustomMember o : getMembers(module, PointInImport.NONE, resolveContext.getTypeEvalContext())) { if (o.getName().equals(name)) { return o.resolve(module, resolveContext); } } return null; }