mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-05 17:45:52 +01:00
Expose the various fixed-size item counts in DexBackedDexFile
This commit is contained in:
parent
853da5a172
commit
0153548c30
@ -207,6 +207,26 @@ public class DexBackedDexFile extends BaseDexBuffer implements DexFile {
|
||||
return classCount;
|
||||
}
|
||||
|
||||
public int getStringCount() {
|
||||
return stringCount;
|
||||
}
|
||||
|
||||
public int getTypeCount() {
|
||||
return typeCount;
|
||||
}
|
||||
|
||||
public int getProtoCount() {
|
||||
return protoCount;
|
||||
}
|
||||
|
||||
public int getFieldCount() {
|
||||
return fieldCount;
|
||||
}
|
||||
|
||||
public int getMethodCount() {
|
||||
return methodCount;
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
public String getString(int stringIndex) {
|
||||
int stringOffset = getStringIdItemOffset(stringIndex);
|
||||
|
Loading…
Reference in New Issue
Block a user