def signature_caption
      ret = signature_caption_name_only
      if ret then
        if attribute? then

          if @attr_matcher then
            ret << " -> #{@attr_matcher.expected_short_caption}"
          end
        else

          # 引数出力
          unless @assigned_method.parameters.empty? then
            ret << "("
            @assigned_method.parameters.each_with_index do |param_info, i|
              _, param_name = param_info
              if i >= 1 then
                ret << ", "
              end

              if (matcher = @arg_matchers[i]) then
                ret << "#{param_name}:#{matcher.expected_short_caption}"
              else
                ret << "#{param_name}:any"
              end
            end
            ret << ")"
          end

          if @return_matcher then
            ret << " -> #{@return_matcher.expected_short_caption}"
          end
        end

        return ret
      else
        nil
      end
    end
def signature_caption
      ret = signature_caption_name_only
      if ret then
        if attribute? then

          if @attr_matcher then
            ret << " -> #{@attr_matcher.expected_short_caption}"
          end
        else

          # 引数出力
          unless @assigned_method.parameters.empty? then
            ret << "("
            @assigned_method.parameters.each_with_index do |param_info, i|
              _, param_name = param_info
              if i >= 1 then
                ret << ", "
              end

              if (matcher = @arg_matchers[i]) then
                ret << "#{param_name}:#{matcher.expected_short_caption}"
              else
                ret << "#{param_name}:any"
              end
            end
            ret << ")"
          end

          if @return_matcher then
            ret << " -> #{@return_matcher.expected_short_caption}"
          end
        end

        return ret
      else
        nil
      end
    end
メソッド名/属性名＋引数＋戻り値の表記文字列を取得