   constructor: (props) ->
     super props
 
+  constructLink = (name) ->
+    match = name.match(/^(.+)\.(.+)$/)
+    console.log match
+    <span>
+      <Link style={styles.link} href={"/class/#{match[1]}"}>{match[1]}</Link>
+      <span>.</span>
+      <Link style={styles.link} href={"/class/#{match[1]}/#{match[2].replace(/__constructor/, 'constructor')}"}>{match[2].replace(/__constructor/, 'constructor')}</Link>
+    </span>
+
   render: ->
     dstyle =
       kind_string:

React = require 'react'
Radium = require 'radium'
DocDetailSignaturesComponent = require './doc-detail-signatures-component'
DocTitleComponent = require './doc-title-component'
DocFlagtagsComponent = require './doc-flagtags-component'

      {
        if @props.current.inheritedFrom?
          <div style={styles.from}>
            <span><span>{"Inherited from "}</span>{constructLink(@props.current.inheritedFrom.name)}</span>
          </div>
      }
      {
        if @props.current.overwrites?
          <div style={styles.from}>
            <span><span>{"Overwrites "}</span>{constructLink(@props.current.overwrites.name)}</span>
          </div>
      }
      <DocFlagtagsComponent flags={@props.current.flags} style={styles.tags} />
