Class DebugInfo

java.lang.Object
org.jf.dexlib2.dexbacked.util.DebugInfo
All Implemented Interfaces:
Iterable<DebugItem>
Direct Known Subclasses:
DebugInfo.DebugInfoImpl, DebugInfo.EmptyDebugInfo

public abstract class DebugInfo extends Object implements Iterable<DebugItem>
  • Constructor Details

    • DebugInfo

      public DebugInfo()
  • Method Details

    • getParameterNames

      @Nonnull public abstract Iterator<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)