From 1e862f2fc05c9d01d4d9c00de5d1a4235ff85a9d Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Wed, 9 Sep 2015 14:54:19 +0200 Subject: render annotations with @; render only @MustBeDocumented annotations; render all modifiers --- .idea/runConfigurations/All_tests.xml | 2 +- src/Kotlin/DocumentationBuilder.kt | 38 ++++++++++----- src/Kotlin/KotlinLanguageService.kt | 11 +++-- test/data/classes/annotatedClass.kt | 2 +- test/data/classes/dataClass.kt | 1 + test/data/format/annotationParams.kt | 2 +- test/data/format/annotationParams.md | 2 +- test/data/functions/annotatedFunction.kt | 2 +- test/data/functions/functionWithAnnotatedParam.kt | 7 ++- test/data/functions/functionWithNoinlineParam.kt | 2 + .../functionWithNotDocumentedAnnotation.kt | 2 + test/data/functions/inlineFunction.kt | 2 + test/data/properties/annotatedProperty.kt | 2 +- test/src/TestAPI.kt | 5 +- test/src/format/MarkdownFormatTest.kt | 5 +- test/src/model/ClassTest.kt | 30 +++++++----- test/src/model/FunctionTest.kt | 54 +++++++++++++++------- test/src/model/PropertyTest.kt | 2 +- 18 files changed, 115 insertions(+), 56 deletions(-) create mode 100644 test/data/classes/dataClass.kt create mode 100644 test/data/functions/functionWithNoinlineParam.kt create mode 100644 test/data/functions/functionWithNotDocumentedAnnotation.kt create mode 100644 test/data/functions/inlineFunction.kt diff --git a/.idea/runConfigurations/All_tests.xml b/.idea/runConfigurations/All_tests.xml index b0528c8f..57e4134d 100644 --- a/.idea/runConfigurations/All_tests.xml +++ b/.idea/runConfigurations/All_tests.xml @@ -8,7 +8,7 @@