mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2026-01-30 06:31:02 +00:00
feat!: Remove patch annotations
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.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package app.revanced.patcher.patch.annotations
|
||||
|
||||
/**
|
||||
* Annotation to mark a class as a patch.
|
||||
*/
|
||||
@Target(AnnotationTarget.CLASS)
|
||||
annotation class Patch
|
||||
Reference in New Issue
Block a user