diff --git a/showkase-processor/src/main/java/com/airbnb/android/showkase/processor/ShowkaseProcessor.kt b/showkase-processor/src/main/java/com/airbnb/android/showkase/processor/ShowkaseProcessor.kt index 995f648e..53c8dfa5 100644 --- a/showkase-processor/src/main/java/com/airbnb/android/showkase/processor/ShowkaseProcessor.kt +++ b/showkase-processor/src/main/java/com/airbnb/android/showkase/processor/ShowkaseProcessor.kt @@ -31,7 +31,7 @@ import com.airbnb.android.showkase.processor.writer.ShowkaseBrowserWriter import com.airbnb.android.showkase.processor.writer.ShowkaseBrowserWriter.Companion.CODEGEN_AUTOGEN_CLASS_NAME import com.airbnb.android.showkase.processor.writer.ShowkaseModuleCodegenMetadataWriter import com.airbnb.android.showkase.processor.writer.ShowkaseExtensionFunctionsWriter -import com.airbnb.android.showkase.processor.writer.ShowkaseModuleMetadataWriter +import com.airbnb.android.showkase.processor.writer.ShowkaseModuleApiWriter import com.airbnb.android.showkase.processor.writer.ShowkaseScreenshotTestWriter import com.google.devtools.ksp.processing.SymbolProcessor import com.google.devtools.ksp.processing.SymbolProcessorEnvironment @@ -356,12 +356,12 @@ class ShowkaseProcessor @JvmOverloads constructor( val currentShowkaseBrowserProperties = writeMetadataFile(componentMetadata, colorMetadata, typographyMetadata) - ShowkaseModuleMetadataWriter.generateModuleLevelShowkaseProvider( + ShowkaseModuleApiWriter.generateModuleLevelShowkaseProvider( environment = environment, moduleShowkaseBrowserProperties = currentShowkaseBrowserProperties ) - ShowkaseModuleMetadataWriter.generateModuleMetadataPublicApi( + ShowkaseModuleApiWriter.generateModuleMetadataPublicApi( environment = environment, moduleShowkaseBrowserProperties = currentShowkaseBrowserProperties ) diff --git a/showkase-processor/src/main/java/com/airbnb/android/showkase/processor/writer/ShowkaseModuleMetadataWriter.kt b/showkase-processor/src/main/java/com/airbnb/android/showkase/processor/writer/ShowkaseModuleApiWriter.kt similarity index 99% rename from showkase-processor/src/main/java/com/airbnb/android/showkase/processor/writer/ShowkaseModuleMetadataWriter.kt rename to showkase-processor/src/main/java/com/airbnb/android/showkase/processor/writer/ShowkaseModuleApiWriter.kt index b44448b7..752b91eb 100644 --- a/showkase-processor/src/main/java/com/airbnb/android/showkase/processor/writer/ShowkaseModuleMetadataWriter.kt +++ b/showkase-processor/src/main/java/com/airbnb/android/showkase/processor/writer/ShowkaseModuleApiWriter.kt @@ -14,7 +14,7 @@ import com.squareup.kotlinpoet.FunSpec import com.squareup.kotlinpoet.LIST import com.squareup.kotlinpoet.ParameterizedTypeName.Companion.parameterizedBy -object ShowkaseModuleMetadataWriter { +object ShowkaseModuleApiWriter { @Suppress("LongMethod", "LongParameterList") internal fun generateModuleLevelShowkaseProvider( environment: XProcessingEnv,