mirror of
https://github.com/skylot/jadx.git
synced 2024-11-27 06:31:15 +00:00
chore: forbid use DebugUtils class with checkstyle
This commit is contained in:
parent
c95d64909a
commit
d7ffa21fbe
@ -119,6 +119,11 @@
|
||||
<module name="OuterTypeNumber"/>
|
||||
|
||||
<module name="SuppressWarningsHolder"/>
|
||||
|
||||
<module name="IllegalType"/>
|
||||
<module name="IllegalImport">
|
||||
<property name="illegalClasses" value="jadx.core.utils.DebugUtils"/>
|
||||
</module>
|
||||
</module>
|
||||
|
||||
<module name="NewlineAtEndOfFile"/>
|
||||
|
@ -13,7 +13,6 @@ import java.util.function.Predicate;
|
||||
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.dex.visitors.regions.TracedRegionVisitor;
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user