Skip to content

Commit 476a7c4

Browse files
committed
Analysis: Suppress kotlin poet's as type name deprecated warning
Warning Messages: "'asTypeName(): TypeName' is deprecated. Mirror APIs don't give complete information on Kotlin types. Consider using the kotlinpoet-metadata APIs instead." This deprecated warning is suppressed, that is, instead of it being resolved, since using the kotlinpoet-metadata APIs is out of scope.
1 parent 31019f9 commit 476a7c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/processors/src/main/java/org/wordpress/android/processor/RemoteConfigProcessor.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import javax.tools.Diagnostic.Kind
2424
"org.wordpress.android.annotation.FeatureInDevelopment"
2525
)
2626
class RemoteConfigProcessor : AbstractProcessor() {
27+
@Suppress("DEPRECATION")
2728
override fun process(p0: MutableSet<out TypeElement>?, roundEnvironment: RoundEnvironment?): Boolean {
2829
val experiments = roundEnvironment?.getElementsAnnotatedWith(Experiment::class.java)?.map { element ->
2930
val annotation = element.getAnnotation(Experiment::class.java)

0 commit comments

Comments
 (0)