aboutsummaryrefslogtreecommitdiff
path: root/src/Model
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 16:28:57 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 16:28:57 +0400
commit93c92506101fec7f0cff6b63d7e223ae97f20717 (patch)
treed04c9468d940e8fea71f70cc9a31bcca71a4537b /src/Model
parent372ab94571e1ad5885982ea83d4b55286f1d6c23 (diff)
downloaddokka-93c92506101fec7f0cff6b63d7e223ae97f20717.tar.gz
dokka-93c92506101fec7f0cff6b63d7e223ae97f20717.tar.bz2
dokka-93c92506101fec7f0cff6b63d7e223ae97f20717.zip
Add JavaSignatureGenerator (no properties or ojects yet)
Diffstat (limited to 'src/Model')
-rw-r--r--src/Model/DocumentationNode.kt2
-rw-r--r--src/Model/DocumentationNodeBuilder.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Model/DocumentationNode.kt b/src/Model/DocumentationNode.kt
index da0f27e5..ad1c3d57 100644
--- a/src/Model/DocumentationNode.kt
+++ b/src/Model/DocumentationNode.kt
@@ -49,7 +49,7 @@ public open class DocumentationNode(val descriptor: DeclarationDescriptor,
Package
Class
- Trait
+ Interface
Object
Constructor
diff --git a/src/Model/DocumentationNodeBuilder.kt b/src/Model/DocumentationNodeBuilder.kt
index 8fa12012..60f9ca0d 100644
--- a/src/Model/DocumentationNodeBuilder.kt
+++ b/src/Model/DocumentationNodeBuilder.kt
@@ -43,7 +43,7 @@ class DocumentationNodeBuilder(val context: BindingContext) : DeclarationDescrip
val doc = context.getDocumentation(descriptor!!)
val node = DocumentationNode(descriptor, descriptor.getName().asString(), doc, when (descriptor.getKind()) {
ClassKind.OBJECT -> DocumentationNode.Kind.Object
- ClassKind.TRAIT -> DocumentationNode.Kind.Trait
+ ClassKind.TRAIT -> DocumentationNode.Kind.Interface
else -> DocumentationNode.Kind.Class
})
data!!.addReferenceTo(node, DocumentationReference.Kind.Member)