mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-06-13 05:37:38 +02:00
33 lines
705 B
Kotlin
33 lines
705 B
Kotlin
package app.revanced.patcher.annotation
|
|
|
|
import app.revanced.patcher.patch.Patch
|
|
|
|
/**
|
|
* Annotation to name a [Patch].
|
|
* @param name A suggestive name for the [Patch].
|
|
*/
|
|
@Target(AnnotationTarget.CLASS)
|
|
annotation class Name(
|
|
val name: String,
|
|
)
|
|
|
|
/**
|
|
* Annotation to describe a [Patch].
|
|
* @param description A description for the [Patch].
|
|
*/
|
|
@Target(AnnotationTarget.CLASS)
|
|
annotation class Description(
|
|
val description: String,
|
|
)
|
|
|
|
|
|
/**
|
|
* Annotation to version a [Patch].
|
|
* @param version The version of a [Patch].
|
|
*/
|
|
@Target(AnnotationTarget.CLASS)
|
|
@Deprecated("This annotation is deprecated and will be removed in a future release.")
|
|
annotation class Version(
|
|
val version: String,
|
|
)
|