MCPcopy Create free account
hub / github.com/CvvT/AppTroy / writeClass

Method writeClass

app/src/main/java/org/cc/dexlib2/writer/DexWriter.java:385–458  ·  view source on GitHub ↗

Writes out the class_def_item and class_data_item for the given class. This will recursively write out any unwritten superclass/interface before writing the class itself, as per the dex specification. @return the index for the next class to be written

(@Nonnull DexDataWriter indexWriter, @Nonnull DexDataWriter offsetWriter,
                           int nextIndex, @Nullable Entry<? extends ClassKey, Integer> entry)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

writeClassesMethod · 0.95

Calls 15

writeEncodedFieldsMethod · 0.95
writeEncodedMethodsMethod · 0.95
getPositionMethod · 0.80
writeUleb128Method · 0.80
getValueMethod · 0.65
getKeyMethod · 0.65
getClassEntryByTypeMethod · 0.65
getSuperclassMethod · 0.65
getTypesMethod · 0.65
getSortedInterfacesMethod · 0.65
getItemIndexMethod · 0.65
getTypeMethod · 0.65

Tested by

no test coverage detected