Package jadx.core.utils
Class ErrorsCounter
java.lang.Object
jadx.core.utils.ErrorsCounter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set<IAttributeNode> private intprivate static final org.slf4j.Loggerprivate static final booleanprivate final Set<IAttributeNode> private int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate <N extends IDexNode & IAttributeNode>
Stringprivate <N extends IDexNode & IAttributeNode>
voidaddWarning(N node, String warn) static <N extends IDexNode & IAttributeNode>
Stringstatic Stringintintvoidstatic <N extends IDexNode & IAttributeNode>
void
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG -
PRINT_MTH_SIZE
private static final boolean PRINT_MTH_SIZE- See Also:
-
errorNodes
-
errorsCount
private int errorsCount -
warnNodes
-
warnsCount
private int warnsCount
-
-
Constructor Details
-
ErrorsCounter
public ErrorsCounter()
-
-
Method Details
-
error
public static <N extends IDexNode & IAttributeNode> String error(N node, String warnMsg, Throwable th) -
warning
-
formatMsg
-
addError
private <N extends IDexNode & IAttributeNode> String addError(N node, String error, @Nullable @Nullable Throwable e) -
addWarning
-
printReport
public void printReport() -
getErrorCount
public int getErrorCount() -
getWarnsCount
public int getWarnsCount() -
getErrorNodes
-
getWarnNodes
-