All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.kotlinx.serialization.protobuf.internal.SuppressAnimalSniffer.kt Maven / Gradle / Ivy

There is a newer version: 1.7.3
Show newest version
/*
 * Copyright 2017-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
 */

package kotlinx.serialization.protobuf.internal

/**
 * Suppresses Animal Sniffer plugin errors for certain methods.
 * Such methods include references to Java 8 methods that are not
 * available in Android API, but can be desugared by R8.
 */
@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
internal annotation class SuppressAnimalSniffer




© 2015 - 2024 Weber Informatics LLC | Privacy Policy