diff options
author | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-12 16:28:57 +0400 |
---|---|---|
committer | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-07-12 16:28:57 +0400 |
commit | 93c92506101fec7f0cff6b63d7e223ae97f20717 (patch) | |
tree | d04c9468d940e8fea71f70cc9a31bcca71a4537b /src/Generation/KotlinSignatureGenerator.kt | |
parent | 372ab94571e1ad5885982ea83d4b55286f1d6c23 (diff) | |
download | dokka-93c92506101fec7f0cff6b63d7e223ae97f20717.tar.gz dokka-93c92506101fec7f0cff6b63d7e223ae97f20717.tar.bz2 dokka-93c92506101fec7f0cff6b63d7e223ae97f20717.zip |
Add JavaSignatureGenerator (no properties or ojects yet)
Diffstat (limited to 'src/Generation/KotlinSignatureGenerator.kt')
-rw-r--r-- | src/Generation/KotlinSignatureGenerator.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generation/KotlinSignatureGenerator.kt b/src/Generation/KotlinSignatureGenerator.kt index ee66d37a..f42b34eb 100644 --- a/src/Generation/KotlinSignatureGenerator.kt +++ b/src/Generation/KotlinSignatureGenerator.kt @@ -7,7 +7,7 @@ class KotlinSignatureGenerator : SignatureGenerator { return when (node.kind) { Kind.Package -> renderPackage(node) Kind.Class, - Kind.Trait, + Kind.Interface, Kind.Object -> renderClass(node) Kind.TypeParameter -> renderTypeParameter(node) @@ -57,7 +57,7 @@ class KotlinSignatureGenerator : SignatureGenerator { return StringBuilder { when (node.kind) { Kind.Class -> append("class ") - Kind.Trait -> append("trait ") + Kind.Interface -> append("trait ") Kind.Object -> append("object ") else -> throw IllegalArgumentException("Node $node is not a class-like object") } |