<% if !@item.has_tag?(:paginator) %>
<li class="<%= @item.visibility %> <%= @item.has_tag?(:deprecated) ? 'deprecated' : '' %>">
  <span class="summary_signature"><%= signature(@item) %></span>
  <% if object != @item.namespace %>
    <span class="note title not_defined_here">
      <%= @item.namespace.type == :class ? 'inherited' : (@item.scope == :class ? 'extended' : 'included') %>
      from <%= linkify @item, object.relative_path(@item.namespace) %>
    </span>
  <% end %>
  <% if @item.type == :enum %><span class="note title writeonly">enum</span><% end %>
  <% if @item.type == :bare_struct || @item.type == :struct %><span class="note title readonly">struct</span><% end %>
  <% if @item.has_tag?(:service) %><span class="note title writeonly">client</span><% end %>
  <% if @item.has_tag?(:service_operation) %><span class="note title readonly">operation</span><% end %>
  <% if @item.type == :interface %><span class="note title interface">interface</span><% end %>
  <% if @item.has_tag?(:readonly) %><span class="note title readonly">readonly</span><% end %>
  <% if @item.has_tag?(:writeonly) %><span class="note title writeonly">writeonly</span><% end %>
  <% if @item.visibility != :public %><span class="note title <%= @item.visibility %>"><%= @item.visibility %></span><% end %>
  <% if @item.has_tag?(:abstract) %><span class="abstract note title">interface</span><% end %>
  <% if @item.has_tag?(:deprecated) %><span class="deprecated note title">deprecated</span><% end %>
  <% if @item.has_tag?(:api) && @item.tag(:api).text == 'private' %><span class="private note title">private</span><% end %>

  <% if @item.has_tag?(:deprecated) %>
    <span class="summary_desc"><strong>Deprecated.</strong> <%= htmlify_line @item.tag(:deprecated).text %></span>
  <% else %>
    <span class="summary_desc"><%= htmlify_line docstring_summary(@item) %></span>
  <% end %>
</li>
<% end %>
