indexWriter.writeInt(typeSection.getNullableItemIndex(classSection.getSuperclass(key))); indexWriter.writeInt(typeListSection.getNullableItemOffset(classSection.getInterfaces(key))); indexWriter.writeInt(stringSection.getNullableItemIndex(classSection.getSourceFile(key)));
public void writeStartLocal(int codeAddress, int register, @Nullable StringKey name, @Nullable TypeKey type, @Nullable StringKey signature) throws IOException { int nameIndex = stringSection.getNullableItemIndex(name); int typeIndex = typeSection.getNullableItemIndex(type); int signatureIndex = stringSection.getNullableItemIndex(signature); writeAdvancePC(codeAddress); if (signatureIndex == DexWriter.NO_INDEX) { writer.write(DebugItemType.START_LOCAL); writer.writeUleb128(register); writer.writeUleb128(nameIndex + 1); writer.writeUleb128(typeIndex + 1); } else { writer.write(DebugItemType.START_LOCAL_EXTENDED); writer.writeUleb128(register); writer.writeUleb128(nameIndex + 1); writer.writeUleb128(typeIndex + 1); writer.writeUleb128(signatureIndex + 1); } }
public void writeStartLocal(int codeAddress, int register, @Nullable StringKey name, @Nullable TypeKey type, @Nullable StringKey signature) throws IOException { int nameIndex = stringSection.getNullableItemIndex(name); int typeIndex = typeSection.getNullableItemIndex(type); int signatureIndex = stringSection.getNullableItemIndex(signature); writeAdvancePC(codeAddress); if (signatureIndex == DexWriter.NO_INDEX) { writer.write(DebugItemType.START_LOCAL); writer.writeUleb128(register); writer.writeUleb128(nameIndex + 1); writer.writeUleb128(typeIndex + 1); } else { writer.write(DebugItemType.START_LOCAL_EXTENDED); writer.writeUleb128(register); writer.writeUleb128(nameIndex + 1); writer.writeUleb128(typeIndex + 1); writer.writeUleb128(signatureIndex + 1); } }
public void writeStartLocal(int codeAddress, int register, @Nullable StringKey name, @Nullable TypeKey type, @Nullable StringKey signature) throws IOException { int nameIndex = stringSection.getNullableItemIndex(name); int typeIndex = typeSection.getNullableItemIndex(type); int signatureIndex = stringSection.getNullableItemIndex(signature); writeAdvancePC(codeAddress); if (signatureIndex == DexWriter.NO_INDEX) { writer.write(DebugItemType.START_LOCAL); writer.writeUleb128(register); writer.writeUleb128(nameIndex + 1); writer.writeUleb128(typeIndex + 1); } else { writer.write(DebugItemType.START_LOCAL_EXTENDED); writer.writeUleb128(register); writer.writeUleb128(nameIndex + 1); writer.writeUleb128(typeIndex + 1); writer.writeUleb128(signatureIndex + 1); } }
indexWriter.writeInt(typeSection.getNullableItemIndex(classSection.getSuperclass(key))); indexWriter.writeInt(typeListSection.getNullableItemOffset(classSection.getSortedInterfaces(key))); indexWriter.writeInt(stringSection.getNullableItemIndex(classSection.getSourceFile(key)));
indexWriter.writeInt(typeSection.getNullableItemIndex(classSection.getSuperclass(key))); indexWriter.writeInt(typeListSection.getNullableItemOffset(classSection.getInterfaces(key))); indexWriter.writeInt(stringSection.getNullableItemIndex(classSection.getSourceFile(key)));