private_class_method parses method def nodes.