Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/ProguardMapping

ProguardMapping

[jvm]\ class ProguardMapping

Constructors

ProguardMapping [jvm]
constructor()

Functions

Name Summary
addMapping [jvm]
fun addMapping(obfuscatedName: String, clearName: String)
Adds entry to the obfuscatedToClearNamesMap map.
create [jvm]
fun ProguardMapping.create(block: ProguardMappingHelper.() -> Unit): ProguardMapping
deobfuscateClassName [jvm]
fun deobfuscateClassName(obfuscatedClassName: String): String
Returns deobfuscated class name or original string if there is no mapping for given obfuscated name.
deobfuscateFieldName [jvm]
fun deobfuscateFieldName(obfuscatedClass: String, obfuscatedField: String): String
Returns deobfuscated field name or original string if there is no mapping for given obfuscated name.