aboutsummaryrefslogtreecommitdiff
path: root/subprojects/analysis-kotlin-api/api/analysis-kotlin-api.api
diff options
context:
space:
mode:
authorVadim Mishenev <vad-mishenev@yandex.ru>2023-08-08 17:15:51 +0300
committerGitHub <noreply@github.com>2023-08-08 17:15:51 +0300
commit2fd8e9096706545f8b77e1e66bcc876d7e29f82c (patch)
treeae26f4e51569440928692859d5ecd11ade69e587 /subprojects/analysis-kotlin-api/api/analysis-kotlin-api.api
parent80549e1f061d1eb22b12fc9a068536655ae299f7 (diff)
downloaddokka-2fd8e9096706545f8b77e1e66bcc876d7e29f82c.tar.gz
dokka-2fd8e9096706545f8b77e1e66bcc876d7e29f82c.tar.bz2
dokka-2fd8e9096706545f8b77e1e66bcc876d7e29f82c.zip
Fix and refactor Sample Transformer (#3102)
Diffstat (limited to 'subprojects/analysis-kotlin-api/api/analysis-kotlin-api.api')
-rw-r--r--subprojects/analysis-kotlin-api/api/analysis-kotlin-api.api15
1 files changed, 15 insertions, 0 deletions
diff --git a/subprojects/analysis-kotlin-api/api/analysis-kotlin-api.api b/subprojects/analysis-kotlin-api/api/analysis-kotlin-api.api
index a057470e..c65dfe5a 100644
--- a/subprojects/analysis-kotlin-api/api/analysis-kotlin-api.api
+++ b/subprojects/analysis-kotlin-api/api/analysis-kotlin-api.api
@@ -51,6 +51,7 @@ public final class org/jetbrains/dokka/analysis/kotlin/internal/InternalKotlinAn
public final fun getInheritanceBuilder ()Lorg/jetbrains/dokka/plugability/ExtensionPoint;
public final fun getKotlinToJavaService ()Lorg/jetbrains/dokka/plugability/ExtensionPoint;
public final fun getModuleAndPackageDocumentationReader ()Lorg/jetbrains/dokka/plugability/ExtensionPoint;
+ public final fun getSampleProviderFactory ()Lorg/jetbrains/dokka/plugability/ExtensionPoint;
public final fun getSyntheticDocumentableDetector ()Lorg/jetbrains/dokka/plugability/ExtensionPoint;
}
@@ -64,6 +65,20 @@ public abstract interface class org/jetbrains/dokka/analysis/kotlin/internal/Mod
public abstract fun read (Lorg/jetbrains/dokka/model/DPackage;)Ljava/util/Map;
}
+public abstract interface class org/jetbrains/dokka/analysis/kotlin/internal/SampleProvider : java/lang/AutoCloseable {
+ public abstract fun getSample (Lorg/jetbrains/dokka/DokkaConfiguration$DokkaSourceSet;Ljava/lang/String;)Lorg/jetbrains/dokka/analysis/kotlin/internal/SampleProvider$SampleSnippet;
+}
+
+public final class org/jetbrains/dokka/analysis/kotlin/internal/SampleProvider$SampleSnippet {
+ public fun <init> (Ljava/lang/String;Ljava/lang/String;)V
+ public final fun getBody ()Ljava/lang/String;
+ public final fun getImports ()Ljava/lang/String;
+}
+
+public abstract interface class org/jetbrains/dokka/analysis/kotlin/internal/SampleProviderFactory {
+ public abstract fun build ()Lorg/jetbrains/dokka/analysis/kotlin/internal/SampleProvider;
+}
+
public abstract interface class org/jetbrains/dokka/analysis/kotlin/internal/SyntheticDocumentableDetector {
public abstract fun isSynthetic (Lorg/jetbrains/dokka/model/Documentable;Lorg/jetbrains/dokka/DokkaConfiguration$DokkaSourceSet;)Z
}