From 58ed2b962e87fd6f1894b9c2975af6089a9f52ea Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Wed, 4 Oct 2023 03:39:35 +0800 Subject: [PATCH] chore(fix): suppress warning --- .../highcapable/yukihookapi/hook/core/YukiMemberHookCreator.kt | 2 +- .../java/com/highcapable/yukihookapi/hook/log/_deprecated.kt | 2 +- .../java/com/highcapable/yukihookapi/hook/param/PackageParam.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/core/YukiMemberHookCreator.kt b/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/core/YukiMemberHookCreator.kt index ac9c47b2..ca4d275f 100644 --- a/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/core/YukiMemberHookCreator.kt +++ b/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/core/YukiMemberHookCreator.kt @@ -26,7 +26,7 @@ * This file is created by fankes on 2022/2/2. */ @file:Suppress( - "unused", "MemberVisibilityCanBePrivate", "UnusedReceiverParameter", "DeprecatedCallableAddReplaceWith", + "unused", "UNUSED_PARAMETER", "MemberVisibilityCanBePrivate", "UnusedReceiverParameter", "DeprecatedCallableAddReplaceWith", "PropertyName", "NON_PUBLIC_CALL_FROM_PUBLIC_INLINE", "OPT_IN_USAGE" ) diff --git a/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/log/_deprecated.kt b/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/log/_deprecated.kt index d8a3ea20..280cb1ac 100644 --- a/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/log/_deprecated.kt +++ b/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/log/_deprecated.kt @@ -25,7 +25,7 @@ * * This file is created by fankes on 2022/2/3. */ -@file:Suppress("unused", "MemberVisibilityCanBePrivate", "DeprecatedCallableAddReplaceWith", "DEPRECATION") +@file:Suppress("unused", "UNUSED_PARAMETER", "MemberVisibilityCanBePrivate", "DeprecatedCallableAddReplaceWith", "DEPRECATION") package com.highcapable.yukihookapi.hook.log diff --git a/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/param/PackageParam.kt b/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/param/PackageParam.kt index 6baeb339..974792b0 100644 --- a/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/param/PackageParam.kt +++ b/yukihookapi-core/src/main/java/com/highcapable/yukihookapi/hook/param/PackageParam.kt @@ -25,7 +25,7 @@ * * This file is created by fankes on 2022/2/2. */ -@file:Suppress("unused", "MemberVisibilityCanBePrivate", "UNCHECKED_CAST", "NON_PUBLIC_CALL_FROM_PUBLIC_INLINE") +@file:Suppress("unused", "UNUSED_PARAMETER", "MemberVisibilityCanBePrivate", "UNCHECKED_CAST", "NON_PUBLIC_CALL_FROM_PUBLIC_INLINE") package com.highcapable.yukihookapi.hook.param