diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index 84d93c1c40b..1edbb17887a 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -119,6 +119,11 @@ + + + + + diff --git a/jadx-core/src/main/java/jadx/core/utils/DebugUtils.java b/jadx-core/src/main/java/jadx/core/utils/DebugUtils.java index cbe7e34eedd..1395865ee08 100644 --- a/jadx-core/src/main/java/jadx/core/utils/DebugUtils.java +++ b/jadx-core/src/main/java/jadx/core/utils/DebugUtils.java @@ -13,7 +13,6 @@ import java.util.stream.Collectors; import java.util.stream.Stream; -import org.jetbrains.annotations.TestOnly; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -39,8 +38,10 @@ import jadx.core.utils.exceptions.CodegenException; import jadx.core.utils.exceptions.JadxException; -@Deprecated -@TestOnly +/** + * Use these methods only for debug purpose. + * CheckStyle will reject usage of this class. + */ public class DebugUtils { private static final Logger LOG = LoggerFactory.getLogger(DebugUtils.class);