aboutsummaryrefslogtreecommitdiff
path: root/src/Model/DocumentationNode.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-11-03 20:21:52 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-11-03 20:21:52 +0100
commitfb25c1eaf41ae314d19d6cda55446a2ab6b63715 (patch)
tree99cb6e86eb45a7ea4a3f0eeb2f35f200c3117270 /src/Model/DocumentationNode.kt
parentaa9395aa97a9d738125e21d5ed235b350d637a24 (diff)
downloaddokka-fb25c1eaf41ae314d19d6cda55446a2ab6b63715.tar.gz
dokka-fb25c1eaf41ae314d19d6cda55446a2ab6b63715.tar.bz2
dokka-fb25c1eaf41ae314d19d6cda55446a2ab6b63715.zip
reduce the number of Kotlinisms in documentation model generated from Java code
Diffstat (limited to 'src/Model/DocumentationNode.kt')
-rw-r--r--src/Model/DocumentationNode.kt8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Model/DocumentationNode.kt b/src/Model/DocumentationNode.kt
index 44e9099e..52881f65 100644
--- a/src/Model/DocumentationNode.kt
+++ b/src/Model/DocumentationNode.kt
@@ -82,6 +82,7 @@ public open class DocumentationNode(val name: String,
Constructor,
Function,
Property,
+ Field,
CompanionObjectProperty,
CompanionObjectFunction,
@@ -112,9 +113,12 @@ public open class DocumentationNode(val name: String,
* A note which is rendered once on a page documenting a group of overloaded functions.
* Needs to be generated equally on all overloads.
*/
- OverloadGroupNote
- }
+ OverloadGroupNote;
+ companion object {
+ val classLike = setOf(Class, Interface, Enum, AnnotationClass, Object)
+ }
+ }
}
public class DocumentationModule(name: String, content: Content = Content.Empty)