diff options
author | Marcin Aman <marcin.aman@gmail.com> | 2020-12-03 11:28:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 11:28:59 +0100 |
commit | 80d8991fc572bd145e873ae368dca0b201e069cf (patch) | |
tree | 56addb1dec1817087dafbe9e55bbe6149c577073 /plugins/base/src/main/kotlin/translators/psi | |
parent | 166b4e69854e238c5b7f0a0d999825312129c24f (diff) | |
download | dokka-80d8991fc572bd145e873ae368dca0b201e069cf.tar.gz dokka-80d8991fc572bd145e873ae368dca0b201e069cf.tar.bz2 dokka-80d8991fc572bd145e873ae368dca0b201e069cf.zip |
Bump compiler to 1.4.20, IJ to 201 and coroutines to 1.4.1 (#1641)
Diffstat (limited to 'plugins/base/src/main/kotlin/translators/psi')
-rw-r--r-- | plugins/base/src/main/kotlin/translators/psi/DefaultPsiToDocumentableTranslator.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/translators/psi/DefaultPsiToDocumentableTranslator.kt b/plugins/base/src/main/kotlin/translators/psi/DefaultPsiToDocumentableTranslator.kt index bf7fbe7d..61af1db1 100644 --- a/plugins/base/src/main/kotlin/translators/psi/DefaultPsiToDocumentableTranslator.kt +++ b/plugins/base/src/main/kotlin/translators/psi/DefaultPsiToDocumentableTranslator.kt @@ -38,6 +38,7 @@ import org.jetbrains.kotlin.builtins.functions.FunctionClassDescriptor import org.jetbrains.kotlin.cli.common.CLIConfigurationKeys import org.jetbrains.kotlin.cli.jvm.config.JavaSourceRoot import org.jetbrains.kotlin.descriptors.Visibilities +import org.jetbrains.kotlin.descriptors.java.JavaVisibilities import org.jetbrains.kotlin.idea.caches.resolve.util.getJavaClassDescriptor import org.jetbrains.kotlin.idea.refactoring.fqName.getKotlinFqName import org.jetbrains.kotlin.load.java.JvmAbi @@ -185,7 +186,7 @@ class DefaultPsiToDocumentableTranslator( it.methods.forEach { method -> val hash = method.hash if (!method.isConstructor && !superMethodsKeys.contains(hash) && - method.getVisibility() != Visibilities.PRIVATE + method.getVisibility() != JavaVisibility.Private ) { superMethodsKeys.add(hash) superMethods.add(Pair(method, definedAt)) |