diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Analysis/AnalysisEnvironment.kt | 18 | ||||
-rw-r--r-- | src/Analysis/CommentsAPI.kt | 7 | ||||
-rw-r--r-- | src/Analysis/CompilerAPI.kt | 22 | ||||
-rw-r--r-- | src/Kotlin/ContentBuilder.kt | 8 | ||||
-rw-r--r-- | src/Kotlin/DocumentationBuilder.kt | 10 | ||||
-rw-r--r-- | src/main.kt | 10 |
6 files changed, 36 insertions, 39 deletions
diff --git a/src/Analysis/AnalysisEnvironment.kt b/src/Analysis/AnalysisEnvironment.kt index cc0e7184..1bf3575f 100644 --- a/src/Analysis/AnalysisEnvironment.kt +++ b/src/Analysis/AnalysisEnvironment.kt @@ -1,17 +1,17 @@ package org.jetbrains.dokka -import org.jetbrains.jet.cli.common.messages.* +import org.jetbrains.kotlin.cli.common.messages.* import com.intellij.openapi.* -import org.jetbrains.jet.cli.jvm.compiler.* -import org.jetbrains.jet.lang.resolve.* -import org.jetbrains.jet.lang.psi.* +import org.jetbrains.kotlin.cli.jvm.compiler.* +import org.jetbrains.kotlin.resolve.* +import org.jetbrains.kotlin.psi.* import java.io.File -import org.jetbrains.jet.config.* -import org.jetbrains.jet.cli.common.* -import org.jetbrains.jet.cli.jvm.* +import org.jetbrains.kotlin.config.* +import org.jetbrains.kotlin.cli.common.* +import org.jetbrains.kotlin.cli.jvm.* import com.intellij.openapi.util.* -import org.jetbrains.jet.lang.descriptors.ModuleDescriptor -import org.jetbrains.jet.lang.resolve.lazy.ResolveSession +import org.jetbrains.kotlin.descriptors.ModuleDescriptor +import org.jetbrains.kotlin.resolve.lazy.ResolveSession /** * Kotlin as a service entry point diff --git a/src/Analysis/CommentsAPI.kt b/src/Analysis/CommentsAPI.kt index b195107a..ce453113 100644 --- a/src/Analysis/CommentsAPI.kt +++ b/src/Analysis/CommentsAPI.kt @@ -1,9 +1,8 @@ package org.jetbrains.dokka -import org.jetbrains.jet.lang.descriptors.* -import org.jetbrains.jet.lang.resolve.* -import org.jetbrains.jet.kdoc.psi.api.* -import org.jetbrains.jet.lang.psi.* +import org.jetbrains.kotlin.descriptors.* +import org.jetbrains.kotlin.resolve.* +import org.jetbrains.kotlin.kdoc.psi.api.* /** * Retrieves PSI elements representing documentation from the [DeclarationDescriptor] diff --git a/src/Analysis/CompilerAPI.kt b/src/Analysis/CompilerAPI.kt index 8216c549..20e91e1d 100644 --- a/src/Analysis/CompilerAPI.kt +++ b/src/Analysis/CompilerAPI.kt @@ -1,19 +1,17 @@ package org.jetbrains.dokka -import org.jetbrains.jet.cli.common.arguments.* -import org.jetbrains.jet.cli.jvm.compiler.* -import org.jetbrains.jet.utils.* +import org.jetbrains.kotlin.cli.common.arguments.* +import org.jetbrains.kotlin.cli.jvm.compiler.* +import org.jetbrains.kotlin.utils.* import java.io.* -import org.jetbrains.jet.lang.resolve.java.* -import org.jetbrains.jet.lang.resolve.* -import org.jetbrains.jet.lang.psi.* -import org.jetbrains.jet.analyzer.* -import org.jetbrains.jet.lang.descriptors.* -import org.jetbrains.jet.lang.resolve.scopes.* -import org.jetbrains.jet.context.GlobalContext +import org.jetbrains.kotlin.resolve.jvm.* +import org.jetbrains.kotlin.analyzer.* +import org.jetbrains.kotlin.descriptors.* +import org.jetbrains.kotlin.resolve.scopes.* +import org.jetbrains.kotlin.context.GlobalContext import com.intellij.psi.search.GlobalSearchScope -import org.jetbrains.jet.lang.resolve.name.Name -import org.jetbrains.jet.lang.resolve.lazy.ResolveSession +import org.jetbrains.kotlin.name.Name +import org.jetbrains.kotlin.resolve.lazy.ResolveSession private fun getAnnotationsPath(paths: KotlinPaths, arguments: K2JVMCompilerArguments): MutableList<File> { val annotationsPath = arrayListOf<File>() diff --git a/src/Kotlin/ContentBuilder.kt b/src/Kotlin/ContentBuilder.kt index 0143feed..0143a46e 100644 --- a/src/Kotlin/ContentBuilder.kt +++ b/src/Kotlin/ContentBuilder.kt @@ -1,10 +1,10 @@ package org.jetbrains.dokka import java.util.ArrayDeque -import org.jetbrains.jet.lang.descriptors.* -import org.jetbrains.jet.lang.resolve.* -import org.jetbrains.jet.lang.resolve.scopes.* -import org.jetbrains.jet.lang.resolve.name.* +import org.jetbrains.kotlin.descriptors.* +import org.jetbrains.kotlin.resolve.* +import org.jetbrains.kotlin.resolve.scopes.* +import org.jetbrains.kotlin.name.* import org.intellij.markdown.* public fun DocumentationBuilder.buildContent(tree: MarkdownNode, descriptor: DeclarationDescriptor): Content { diff --git a/src/Kotlin/DocumentationBuilder.kt b/src/Kotlin/DocumentationBuilder.kt index aeea4a55..af8d0ad6 100644 --- a/src/Kotlin/DocumentationBuilder.kt +++ b/src/Kotlin/DocumentationBuilder.kt @@ -1,11 +1,11 @@ package org.jetbrains.dokka -import org.jetbrains.jet.lang.descriptors.* +import org.jetbrains.kotlin.descriptors.* import org.jetbrains.dokka.DocumentationNode.* -import org.jetbrains.jet.lang.types.* -import org.jetbrains.jet.lang.types.lang.* -import org.jetbrains.jet.lang.resolve.name.* -import org.jetbrains.jet.lang.resolve.lazy.* +import org.jetbrains.kotlin.types.* +import org.jetbrains.kotlin.builtins.* +import org.jetbrains.kotlin.name.* +import org.jetbrains.kotlin.resolve.lazy.* public data class DocumentationOptions(val includeNonPublic: Boolean = false) diff --git a/src/main.kt b/src/main.kt index 0c853bc7..f540e3dc 100644 --- a/src/main.kt +++ b/src/main.kt @@ -2,12 +2,12 @@ package org.jetbrains.dokka import com.sampullara.cli.* import com.intellij.openapi.util.* -import org.jetbrains.jet.cli.common.messages.* -import org.jetbrains.jet.cli.common.arguments.* -import org.jetbrains.jet.utils.PathUtil +import org.jetbrains.kotlin.cli.common.messages.* +import org.jetbrains.kotlin.cli.common.arguments.* +import org.jetbrains.kotlin.utils.PathUtil import java.io.File -import org.jetbrains.jet.lang.descriptors.DeclarationDescriptor -import org.jetbrains.jet.lang.resolve.name.FqName +import org.jetbrains.kotlin.descriptors.DeclarationDescriptor +import org.jetbrains.kotlin.name.FqName class DokkaArguments { Argument(value = "src", description = "Source file or directory (allows many paths separated by the system path separator)") |