mirror of
https://github.com/ReVanced/revanced-library.git
synced 2026-01-11 13:56:17 +00:00
fix: Make functions internal which are supposed to be internal
BREAKING CHANGE: Some functions are not available anymore.
This commit is contained in:
@@ -102,7 +102,6 @@ public final class app/revanced/library/PatchUtils$Json {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final class app/revanced/library/PatchUtils$Json$FullJsonPatch : app/revanced/library/PatchUtils$Json$JsonPatch {
|
public final class app/revanced/library/PatchUtils$Json$FullJsonPatch : app/revanced/library/PatchUtils$Json$JsonPatch {
|
||||||
public static final field Companion Lapp/revanced/library/PatchUtils$Json$FullJsonPatch$Companion;
|
|
||||||
public final fun getCompatiblePackages ()Ljava/util/Set;
|
public final fun getCompatiblePackages ()Ljava/util/Set;
|
||||||
public final fun getDescription ()Ljava/lang/String;
|
public final fun getDescription ()Ljava/lang/String;
|
||||||
public final fun getName ()Ljava/lang/String;
|
public final fun getName ()Ljava/lang/String;
|
||||||
@@ -110,12 +109,7 @@ public final class app/revanced/library/PatchUtils$Json$FullJsonPatch : app/reva
|
|||||||
public final fun getUse ()Z
|
public final fun getUse ()Z
|
||||||
}
|
}
|
||||||
|
|
||||||
public final class app/revanced/library/PatchUtils$Json$FullJsonPatch$Companion {
|
|
||||||
public final fun fromPatch (Lapp/revanced/patcher/patch/Patch;)Lapp/revanced/library/PatchUtils$Json$FullJsonPatch;
|
|
||||||
}
|
|
||||||
|
|
||||||
public final class app/revanced/library/PatchUtils$Json$FullJsonPatch$FullJsonPatchOption {
|
public final class app/revanced/library/PatchUtils$Json$FullJsonPatch$FullJsonPatchOption {
|
||||||
public static final field Companion Lapp/revanced/library/PatchUtils$Json$FullJsonPatch$FullJsonPatchOption$Companion;
|
|
||||||
public final fun getDefault ()Ljava/lang/Object;
|
public final fun getDefault ()Ljava/lang/Object;
|
||||||
public final fun getDescription ()Ljava/lang/String;
|
public final fun getDescription ()Ljava/lang/String;
|
||||||
public final fun getKey ()Ljava/lang/String;
|
public final fun getKey ()Ljava/lang/String;
|
||||||
@@ -125,10 +119,6 @@ public final class app/revanced/library/PatchUtils$Json$FullJsonPatch$FullJsonPa
|
|||||||
public final fun getValues ()Ljava/util/Map;
|
public final fun getValues ()Ljava/util/Map;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final class app/revanced/library/PatchUtils$Json$FullJsonPatch$FullJsonPatchOption$Companion {
|
|
||||||
public final fun fromPatchOption (Lapp/revanced/patcher/patch/Option;)Lapp/revanced/library/PatchUtils$Json$FullJsonPatch$FullJsonPatchOption;
|
|
||||||
}
|
|
||||||
|
|
||||||
public abstract interface class app/revanced/library/PatchUtils$Json$JsonPatch {
|
public abstract interface class app/revanced/library/PatchUtils$Json$JsonPatch {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -102,7 +102,6 @@ public final class app/revanced/library/PatchUtils$Json {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final class app/revanced/library/PatchUtils$Json$FullJsonPatch : app/revanced/library/PatchUtils$Json$JsonPatch {
|
public final class app/revanced/library/PatchUtils$Json$FullJsonPatch : app/revanced/library/PatchUtils$Json$JsonPatch {
|
||||||
public static final field Companion Lapp/revanced/library/PatchUtils$Json$FullJsonPatch$Companion;
|
|
||||||
public final fun getCompatiblePackages ()Ljava/util/Set;
|
public final fun getCompatiblePackages ()Ljava/util/Set;
|
||||||
public final fun getDescription ()Ljava/lang/String;
|
public final fun getDescription ()Ljava/lang/String;
|
||||||
public final fun getName ()Ljava/lang/String;
|
public final fun getName ()Ljava/lang/String;
|
||||||
@@ -110,12 +109,7 @@ public final class app/revanced/library/PatchUtils$Json$FullJsonPatch : app/reva
|
|||||||
public final fun getUse ()Z
|
public final fun getUse ()Z
|
||||||
}
|
}
|
||||||
|
|
||||||
public final class app/revanced/library/PatchUtils$Json$FullJsonPatch$Companion {
|
|
||||||
public final fun fromPatch (Lapp/revanced/patcher/patch/Patch;)Lapp/revanced/library/PatchUtils$Json$FullJsonPatch;
|
|
||||||
}
|
|
||||||
|
|
||||||
public final class app/revanced/library/PatchUtils$Json$FullJsonPatch$FullJsonPatchOption {
|
public final class app/revanced/library/PatchUtils$Json$FullJsonPatch$FullJsonPatchOption {
|
||||||
public static final field Companion Lapp/revanced/library/PatchUtils$Json$FullJsonPatch$FullJsonPatchOption$Companion;
|
|
||||||
public final fun getDefault ()Ljava/lang/Object;
|
public final fun getDefault ()Ljava/lang/Object;
|
||||||
public final fun getDescription ()Ljava/lang/String;
|
public final fun getDescription ()Ljava/lang/String;
|
||||||
public final fun getKey ()Ljava/lang/String;
|
public final fun getKey ()Ljava/lang/String;
|
||||||
@@ -125,10 +119,6 @@ public final class app/revanced/library/PatchUtils$Json$FullJsonPatch$FullJsonPa
|
|||||||
public final fun getValues ()Ljava/util/Map;
|
public final fun getValues ()Ljava/util/Map;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final class app/revanced/library/PatchUtils$Json$FullJsonPatch$FullJsonPatchOption$Companion {
|
|
||||||
public final fun fromPatchOption (Lapp/revanced/patcher/patch/Option;)Lapp/revanced/library/PatchUtils$Json$FullJsonPatch$FullJsonPatchOption;
|
|
||||||
}
|
|
||||||
|
|
||||||
public abstract interface class app/revanced/library/PatchUtils$Json$JsonPatch {
|
public abstract interface class app/revanced/library/PatchUtils$Json$JsonPatch {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -123,8 +123,8 @@ object PatchUtils {
|
|||||||
val use: Boolean,
|
val use: Boolean,
|
||||||
val options: Map<String, FullJsonPatchOption<*>>,
|
val options: Map<String, FullJsonPatchOption<*>>,
|
||||||
) : JsonPatch {
|
) : JsonPatch {
|
||||||
companion object {
|
internal companion object {
|
||||||
fun fromPatch(patch: Patch<*>) =
|
internal fun fromPatch(patch: Patch<*>) =
|
||||||
FullJsonPatch(
|
FullJsonPatch(
|
||||||
patch.name,
|
patch.name,
|
||||||
patch.description,
|
patch.description,
|
||||||
@@ -148,8 +148,8 @@ object PatchUtils {
|
|||||||
val required: Boolean,
|
val required: Boolean,
|
||||||
val type: KType,
|
val type: KType,
|
||||||
) {
|
) {
|
||||||
companion object {
|
internal companion object {
|
||||||
fun fromPatchOption(option: Option<*>) =
|
internal fun fromPatchOption(option: Option<*>) =
|
||||||
FullJsonPatchOption(
|
FullJsonPatchOption(
|
||||||
option.key,
|
option.key,
|
||||||
option.default,
|
option.default,
|
||||||
|
|||||||
Reference in New Issue
Block a user