From e4b2ae90bf0e84f76ceb7c56b7c128d28adad917 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Fri, 30 Oct 2015 18:43:48 +0100 Subject: initial support for generating javadoc from Kotlin light classes --- src/Generation/FileGenerator.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Generation') diff --git a/src/Generation/FileGenerator.kt b/src/Generation/FileGenerator.kt index c4025088..810038fa 100644 --- a/src/Generation/FileGenerator.kt +++ b/src/Generation/FileGenerator.kt @@ -6,10 +6,10 @@ import java.io.FileOutputStream import java.io.IOException import java.io.OutputStreamWriter -public class FileGenerator @Inject constructor(val locationService: FileLocationService, - val formatService: FormatService) : Generator { +public class FileGenerator @Inject constructor(val locationService: FileLocationService) : Generator { @set:Inject(optional = true) var outlineService: OutlineFormatService? = null + @set:Inject(optional = true) lateinit var formatService: FormatService override fun buildPages(nodes: Iterable) { val specificLocationService = locationService.withExtension(formatService.extension) -- cgit