diff options
Diffstat (limited to 'src/Formats')
-rw-r--r-- | src/Formats/StandardFormats.kt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/Formats/StandardFormats.kt b/src/Formats/StandardFormats.kt index 1d5ffe13..658735c0 100644 --- a/src/Formats/StandardFormats.kt +++ b/src/Formats/StandardFormats.kt @@ -4,44 +4,44 @@ import org.jetbrains.dokka.* class HtmlFormatDescriptor : FormatDescriptor { override val formatServiceClass: Class<out FormatService> - get() = javaClass<HtmlFormatService>() + get() = HtmlFormatService::class.java override val outlineServiceClass: Class<out OutlineFormatService> - get() = javaClass<HtmlFormatService>() + get() = HtmlFormatService::class.java override val generatorServiceClass: Class<out Generator> - get() = javaClass<FileGenerator>() + get() = FileGenerator::class.java } class KotlinWebsiteFormatDescriptor : FormatDescriptor { override val formatServiceClass: Class<out FormatService> - get() = javaClass<KotlinWebsiteFormatService>() + get() = KotlinWebsiteFormatService::class.java override val outlineServiceClass: Class<out OutlineFormatService> - get() = javaClass<YamlOutlineService>() + get() = YamlOutlineService::class.java override val generatorServiceClass: Class<out Generator> - get() = javaClass<FileGenerator>() + get() = FileGenerator::class.java } class JekyllFormatDescriptor : FormatDescriptor { override val formatServiceClass: Class<out FormatService> - get() = javaClass<JekyllFormatService>() + get() = JekyllFormatService::class.java override val outlineServiceClass: Class<out OutlineFormatService>? get() = null override val generatorServiceClass: Class<out Generator> - get() = javaClass<FileGenerator>() + get() = FileGenerator::class.java } class MarkdownFormatDescriptor : FormatDescriptor { override val formatServiceClass: Class<out FormatService> - get() = javaClass<MarkdownFormatService>() + get() = MarkdownFormatService::class.java override val outlineServiceClass: Class<out OutlineFormatService>? get() = null override val generatorServiceClass: Class<out Generator> - get() = javaClass<FileGenerator>() + get() = FileGenerator::class.java } |