Package org.jf.dexlib2.dexbacked.util
Class DebugInfo
java.lang.Object
org.jf.dexlib2.dexbacked.util.DebugInfo
- Direct Known Subclasses:
DebugInfo.DebugInfoImpl,DebugInfo.EmptyDebugInfo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetParameterNames(DexReader reader) Gets an iterator that yields the parameter names from the debug_info_itemabstract intgetSize()Calculate and return the private size of debuginfo.static DebugInfonewOrEmpty(DexBackedDexFile dexFile, int debugInfoOffset, DexBackedMethodImplementation methodImpl) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Constructor Details
-
DebugInfo
public DebugInfo()
-
-
Method Details
-
getParameterNames
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)
-