You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/revanced-patcher.api
+20-29
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,4 @@
1
1
public final class app/revanced/patcher/Fingerprint {
2
-
public final fun getMatch ()Lapp/revanced/patcher/Match;
3
-
public final fun match (Lapp/revanced/patcher/patch/BytecodePatchContext;Lcom/android/tools/smali/dexlib2/iface/ClassDef;)Z
4
-
public final fun match (Lapp/revanced/patcher/patch/BytecodePatchContext;Lcom/android/tools/smali/dexlib2/iface/Method;)Z
5
2
}
6
3
7
4
public final class app/revanced/patcher/FingerprintBuilder {
@@ -18,20 +15,17 @@ public final class app/revanced/patcher/FingerprintBuilder {
18
15
19
16
public final class app/revanced/patcher/FingerprintKt {
20
17
public static final fun fingerprint (ILkotlin/jvm/functions/Function1;)Lapp/revanced/patcher/Fingerprint;
21
-
public static final fun fingerprint (Lapp/revanced/patcher/patch/BytecodePatchBuilder;ILkotlin/jvm/functions/Function1;)Lapp/revanced/patcher/patch/BytecodePatchBuilder$InvokedFingerprint;
22
18
public static synthetic fun fingerprint$default (ILkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lapp/revanced/patcher/Fingerprint;
23
-
public static synthetic fun fingerprint$default (Lapp/revanced/patcher/patch/BytecodePatchBuilder;ILkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lapp/revanced/patcher/patch/BytecodePatchBuilder$InvokedFingerprint;
24
19
}
25
20
26
21
public abstract interface annotation class app/revanced/patcher/InternalApi : java/lang/annotation/Annotation {
27
22
}
28
23
29
24
public final class app/revanced/patcher/Match {
30
-
public fun <init> (Lcom/android/tools/smali/dexlib2/iface/Method;Lcom/android/tools/smali/dexlib2/iface/ClassDef;Lapp/revanced/patcher/Match$PatternMatch;Ljava/util/List;Lapp/revanced/patcher/patch/BytecodePatchContext;)V
31
-
public final fun getClassDef ()Lcom/android/tools/smali/dexlib2/iface/ClassDef;
32
-
public final fun getMethod ()Lcom/android/tools/smali/dexlib2/iface/Method;
33
-
public final fun getMutableClass ()Lapp/revanced/patcher/util/proxy/mutableTypes/MutableClass;
34
-
public final fun getMutableMethod ()Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod;
25
+
public final fun getClassDef ()Lapp/revanced/patcher/util/proxy/mutableTypes/MutableClass;
26
+
public final fun getMethod ()Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod;
27
+
public final fun getOriginalClassDef ()Lcom/android/tools/smali/dexlib2/iface/ClassDef;
28
+
public final fun getOriginalMethod ()Lcom/android/tools/smali/dexlib2/iface/Method;
35
29
public final fun getPatternMatch ()Lapp/revanced/patcher/Match$PatternMatch;
36
30
public final fun getStringMatches ()Ljava/util/List;
37
31
}
@@ -63,8 +57,8 @@ public final class app/revanced/patcher/Patcher : java/io/Closeable {
63
57
}
64
58
65
59
public final class app/revanced/patcher/PatcherConfig {
66
-
public fun <init> (Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;Z)V
67
-
public synthetic fun <init> (Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
60
+
public fun <init> (Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)V
61
+
public synthetic fun <init> (Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
68
62
}
69
63
70
64
public final class app/revanced/patcher/PatcherContext : java/io/Closeable {
@@ -135,30 +129,27 @@ public final class app/revanced/patcher/extensions/InstructionExtensions {
135
129
}
136
130
137
131
public final class app/revanced/patcher/patch/BytecodePatch : app/revanced/patcher/patch/Patch {
138
-
public final fun getExtension ()Ljava/io/InputStream;
139
-
public final fun getFingerprints ()Ljava/util/Set;
132
+
public final fun getExtensionInputStream ()Ljava/util/function/Supplier;
140
133
public fun toString ()Ljava/lang/String;
141
134
}
142
135
143
136
public final class app/revanced/patcher/patch/BytecodePatchBuilder : app/revanced/patcher/patch/PatchBuilder {
144
137
public synthetic fun build$revanced_patcher ()Lapp/revanced/patcher/patch/Patch;
145
138
public final fun extendWith (Ljava/lang/String;)Lapp/revanced/patcher/patch/BytecodePatchBuilder;
146
-
public final fun getExtension ()Ljava/io/InputStream;
147
-
public final fun invoke (Lapp/revanced/patcher/Fingerprint;)Lapp/revanced/patcher/patch/BytecodePatchBuilder$InvokedFingerprint;
148
-
public final fun setExtension (Ljava/io/InputStream;)V
149
-
}
150
-
151
-
public final class app/revanced/patcher/patch/BytecodePatchBuilder$InvokedFingerprint {
152
-
public final fun getValue (Ljava/lang/Void;Lkotlin/reflect/KProperty;)Lapp/revanced/patcher/Match;
139
+
public final fun getExtensionInputStream ()Ljava/util/function/Supplier;
140
+
public final fun setExtensionInputStream (Ljava/util/function/Supplier;)V
153
141
}
154
142
155
143
public final class app/revanced/patcher/patch/BytecodePatchContext : app/revanced/patcher/patch/PatchContext, java/io/Closeable {
156
144
public final fun classBy (Lkotlin/jvm/functions/Function1;)Lapp/revanced/patcher/util/proxy/ClassProxy;
157
-
public final fun classByType (Ljava/lang/String;)Lapp/revanced/patcher/util/proxy/ClassProxy;
158
145
public fun close ()V
159
146
public synthetic fun get ()Ljava/lang/Object;
160
147
public fun get ()Ljava/util/Set;
161
148
public final fun getClasses ()Lapp/revanced/patcher/util/ProxyClassList;
149
+
public final fun getMatch (Lapp/revanced/patcher/Fingerprint;)Lapp/revanced/patcher/Match;
150
+
public final fun getValue (Lapp/revanced/patcher/Fingerprint;Ljava/lang/Void;Lkotlin/reflect/KProperty;)Lapp/revanced/patcher/Match;
151
+
public final fun match (Lapp/revanced/patcher/Fingerprint;Lcom/android/tools/smali/dexlib2/iface/ClassDef;)Lapp/revanced/patcher/Match;
152
+
public final fun match (Lapp/revanced/patcher/Fingerprint;Lcom/android/tools/smali/dexlib2/iface/Method;)Lapp/revanced/patcher/Match;
162
153
public final fun navigate (Lcom/android/tools/smali/dexlib2/iface/Method;)Lapp/revanced/patcher/util/MethodNavigator;
163
154
public final fun proxy (Lcom/android/tools/smali/dexlib2/iface/ClassDef;)Lapp/revanced/patcher/util/proxy/ClassProxy;
164
155
}
@@ -286,7 +277,7 @@ public final class app/revanced/patcher/patch/Options : java/util/Map, kotlin/jv
286
277
}
287
278
288
279
public abstract class app/revanced/patcher/patch/Patch {
289
-
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;ZLjava/util/Set;Ljava/util/Set;Ljava/util/Set;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
280
+
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;ZLjava/util/Set;Ljava/util/Set;Ljava/util/Set;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
290
281
public final fun execute (Lapp/revanced/patcher/patch/PatchContext;)V
291
282
public final fun finalize (Lapp/revanced/patcher/patch/PatchContext;)V
292
283
public final fun getCompatiblePackages ()Ljava/util/Set;
@@ -303,22 +294,22 @@ public abstract class app/revanced/patcher/patch/PatchBuilder {
303
294
public final fun compatibleWith ([Ljava/lang/String;)V
304
295
public final fun compatibleWith ([Lkotlin/Pair;)V
305
296
public final fun dependsOn ([Lapp/revanced/patcher/patch/Patch;)V
306
-
public final fun execute (Lkotlin/jvm/functions/Function2;)V
307
-
public final fun finalize (Lkotlin/jvm/functions/Function2;)V
297
+
public final fun execute (Lkotlin/jvm/functions/Function1;)V
298
+
public final fun finalize (Lkotlin/jvm/functions/Function1;)V
308
299
protected final fun getCompatiblePackages ()Ljava/util/Set;
309
300
protected final fun getDependencies ()Ljava/util/Set;
310
301
protected final fun getDescription ()Ljava/lang/String;
311
-
protected final fun getExecutionBlock ()Lkotlin/jvm/functions/Function2;
312
-
protected final fun getFinalizeBlock ()Lkotlin/jvm/functions/Function2;
302
+
protected final fun getExecutionBlock ()Lkotlin/jvm/functions/Function1;
303
+
protected final fun getFinalizeBlock ()Lkotlin/jvm/functions/Function1;
313
304
protected final fun getName ()Ljava/lang/String;
314
305
protected final fun getOptions ()Ljava/util/Set;
315
306
protected final fun getUse ()Z
316
307
public final fun invoke (Lapp/revanced/patcher/patch/Option;)Lapp/revanced/patcher/patch/Option;
317
308
public final fun invoke (Ljava/lang/String;[Ljava/lang/String;)Lkotlin/Pair;
318
309
protected final fun setCompatiblePackages (Ljava/util/Set;)V
319
310
protected final fun setDependencies (Ljava/util/Set;)V
320
-
protected final fun setExecutionBlock (Lkotlin/jvm/functions/Function2;)V
321
-
protected final fun setFinalizeBlock (Lkotlin/jvm/functions/Function2;)V
311
+
protected final fun setExecutionBlock (Lkotlin/jvm/functions/Function1;)V
312
+
protected final fun setFinalizeBlock (Lkotlin/jvm/functions/Function1;)V
322
313
}
323
314
324
315
public abstract interface class app/revanced/patcher/patch/PatchContext : java/util/function/Supplier {
0 commit comments