From 67254d9ca25acad89f402bde068cce955759a929 Mon Sep 17 00:00:00 2001 From: Vinay Gaba Date: Sun, 9 Jun 2024 21:58:28 -0700 Subject: [PATCH] Rename file name --- .../airbnb/android/showkase/processor/ShowkaseProcessor.kt | 6 +++--- ...seModuleMetadataWriter.kt => ShowkaseModuleApiWriter.kt} | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename showkase-processor/src/main/java/com/airbnb/android/showkase/processor/writer/{ShowkaseModuleMetadataWriter.kt => ShowkaseModuleApiWriter.kt} (99%) 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,