    # File lib/chef/resource.rb, line 163
        def self.state_attrs(*attr_names)
          @state_attrs ||= []
          @state_attrs = attr_names unless attr_names.empty?

          # Return *all* state_attrs that this class has, including inherited ones
          if superclass.respond_to?(:state_attrs)
            superclass.state_attrs + @state_attrs
          else
            @state_attrs
          end
        end