Package org.jf.dexlib2.dexbacked.util
Class DebugInfo.DebugInfoImpl
java.lang.Object
org.jf.dexlib2.dexbacked.util.DebugInfo
org.jf.dexlib2.dexbacked.util.DebugInfo.DebugInfoImpl
- Enclosing class:
DebugInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intfinal DexBackedDexFileprivate static final LocalInfoprivate final DexBackedMethodImplementation -
Constructor Summary
ConstructorsConstructorDescriptionDebugInfoImpl(DexBackedDexFile dexFile, int debugInfoOffset, DexBackedMethodImplementation methodImpl) -
Method Summary
Modifier and TypeMethodDescriptiongetParameterNames(DexReader reader) Gets an iterator that yields the parameter names from the debug_info_itemintgetSize()Calculate and return the private size of debuginfo.iterator()Methods inherited from class org.jf.dexlib2.dexbacked.util.DebugInfo
newOrEmptyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
dexFile
-
debugInfoOffset
private final int debugInfoOffset -
methodImpl
-
EMPTY_LOCAL_INFO
-
-
Constructor Details
-
DebugInfoImpl
public DebugInfoImpl(@Nonnull DexBackedDexFile dexFile, int debugInfoOffset, @Nonnull DexBackedMethodImplementation methodImpl)
-
-
Method Details
-
iterator
-
getParameterNames
Description copied from class:DebugInfoGets an iterator that yields the parameter names from the debug_info_item- Specified by:
getParameterNamesin classDebugInfo- 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 int getSize()Description copied from class:DebugInfoCalculate and return the private size of debuginfo.
-