Package org.jf.dexlib2.dexbacked.util
Class DebugInfo
- java.lang.Object
-
- org.jf.dexlib2.dexbacked.util.DebugInfo
-
-
Constructor Summary
Constructors Constructor Description DebugInfo()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.util.Iterator<java.lang.String>
getParameterNames(DexReader reader)
Gets an iterator that yields the parameter names from the debug_info_itemabstract int
getSize()
Calculate and return the private size of debuginfo.static DebugInfo
newOrEmpty(DexBackedDexFile dexFile, int debugInfoOffset, DexBackedMethodImplementation methodImpl)
-
-
-
Method Detail
-
getParameterNames
@Nonnull public abstract java.util.Iterator<java.lang.String> getParameterNames(@Nullable DexReader reader)
Gets an iterator that yields the parameter names from the debug_info_item- Parameters:
reader
- Optional. If provided, the reader must be positioned at the debug_info_item.parameters_size field, and will- Returns:
- An iterator that yields the parameter names as strings
-
getSize
public abstract int getSize()
Calculate and return the private size of debuginfo.- Returns:
- size in bytes
-
newOrEmpty
public static DebugInfo newOrEmpty(@Nonnull DexBackedDexFile dexFile, int debugInfoOffset, @Nonnull DexBackedMethodImplementation methodImpl)
-
-