List<PyCustomMember> (PyFile socketFile) { final List<PyCustomMember> result = new ArrayList<>(); addMethodsFromAttr(socketFile, result, "_socketmethods"); addMethodsFromAttr(socketFile, result, "_delegate_methods"); return result; }