public class ApiMapping
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiMapping.Companion |
| Modifier and Type | Field and Description |
|---|---|
static ApiMapping.Companion |
Companion |
static ApiMapping |
EMPTY |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
static ApiMapping |
fromFile(java.io.File $receiver,
java.nio.charset.Charset charset) |
static ApiMapping |
fromFile(java.io.File $receiver) |
static ApiMapping |
fromPath(java.nio.file.Path $receiver,
java.nio.charset.Charset charset) |
static ApiMapping |
fromPath(java.nio.file.Path $receiver) |
static ApiMapping |
fromString(java.lang.String $receiver) |
java.lang.String |
get(java.lang.String type)
Given a
class TypeDescriptor which is typically obfuscated, return a new class TypeDescriptor for the
original name or return type if not included in the mapping. |
DexMember |
get(DexMember member)
Given a
class DexMember which is typically obfuscated, return a new class DexMember with the types and
name mapped back to their original values or return member if the declaring type is not
included in the mapping. |
DexField |
get(DexField field)
Given a
class DexField which is typically obfuscated, return a new class DexField with the types and
name mapped back to their original values or return field if the declaring type is not
included in the mapping. |
DexMethod |
get(DexMethod method)
Given a
class DexMethod which is typically obfuscated, return a new class DexMethod with the types and
name mapped back to their original values or return method if the declaring type is not
included in the mapping. |
int |
getFields() |
int |
getMethods() |
int |
getTypes() |
int |
hashCode() |
java.lang.String |
toString() |
public static ApiMapping EMPTY
public static ApiMapping.Companion Companion
public boolean equals(java.lang.Object other)
public int hashCode()
public java.lang.String toString()
public int getTypes()
public int getMethods()
public int getFields()
public java.lang.String get(java.lang.String type)
Given a class TypeDescriptor which is typically obfuscated, return a new class TypeDescriptor for the
original name or return type if not included in the mapping.
class TypeDescriptor,
class TypeDescriptorpublic DexMember get(DexMember member)
Given a class DexMember which is typically obfuscated, return a new class DexMember with the types and
name mapped back to their original values or return member if the declaring type is not
included in the mapping.
class DexMember,
class DexMemberpublic DexField get(DexField field)
Given a class DexField which is typically obfuscated, return a new class DexField with the types and
name mapped back to their original values or return field if the declaring type is not
included in the mapping.
class DexField,
class DexFieldpublic DexMethod get(DexMethod method)
Given a class DexMethod which is typically obfuscated, return a new class DexMethod with the types and
name mapped back to their original values or return method if the declaring type is not
included in the mapping.
class DexMethod,
class DexMethodpublic static ApiMapping fromPath(java.nio.file.Path $receiver, java.nio.charset.Charset charset)
public static ApiMapping fromPath(java.nio.file.Path $receiver)
public static ApiMapping fromFile(java.io.File $receiver, java.nio.charset.Charset charset)
public static ApiMapping fromFile(java.io.File $receiver)
public static ApiMapping fromString(java.lang.String $receiver)