mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-04-30 05:14:26 +02:00

Annotations required reflection and working with them turned out to be rather cumbersome. The annotations have been replaced with properties for the most part. BREAKING CHANGE: Patch annotations have been removed. PatcherException is now thrown in various places. PatchBundleLoader is now a map of patches associated by their name. Patches are now instances.
7 lines
152 B
Kotlin
7 lines
152 B
Kotlin
package app.revanced.patcher.patch.annotations
|
|
|
|
/**
|
|
* Annotation to mark a class as a patch.
|
|
*/
|
|
@Target(AnnotationTarget.CLASS)
|
|
annotation class Patch |