Package jadx.core.utils
Class BetterName
java.lang.Object
jadx.core.utils.BetterName
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static BetterName.AnalyzeResultstatic intcalcRating(String str) Deprecated.static StringcompareAndGet(String first, String second) Deprecated.private static intDeprecated.static StringgetBetterClassName(String firstName, String secondName) Compares two class names and returns the "better" one.private static StringgetBetterName(String firstName, String secondName) static StringgetBetterResourceName(String firstName, String secondName) Compares two resource names and returns the "better" one.
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG -
DEBUG
private static final boolean DEBUG- See Also:
-
TOLERANCE
private static final double TOLERANCE- See Also:
-
-
Constructor Details
-
BetterName
public BetterName()
-
-
Method Details
-
getBetterClassName
Compares two class names and returns the "better" one. If both names are equally good,firstNameis returned. -
getBetterResourceName
Compares two resource names and returns the "better" one. If both names are equally good,firstNameis returned. -
getBetterName
-
analyze
-
compareAndGet
Deprecated. -
calcRating
Deprecated.This function is an implementation detail of deprecatedcompareAndGet(String, String)and should not be used outside tests. -
differentCharsCount
Deprecated.
-
compareAndGet(String, String)and should not be used outside tests.