Package org.jf.dexlib2.immutable.debug
Class ImmutableLineNumber
java.lang.Object
org.jf.dexlib2.immutable.debug.ImmutableDebugItem
org.jf.dexlib2.immutable.debug.ImmutableLineNumber
- All Implemented Interfaces:
DebugItem,LineNumber
-
Field Summary
FieldsFields inherited from class org.jf.dexlib2.immutable.debug.ImmutableDebugItem
codeAddress -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe type of this debug item.intThe line number associated with this code address.static ImmutableLineNumberof(LineNumber lineNumber) Methods inherited from class org.jf.dexlib2.immutable.debug.ImmutableDebugItem
getCodeAddress, immutableListOf, ofMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jf.dexlib2.iface.debug.DebugItem
getCodeAddress
-
Field Details
-
lineNumber
protected final int lineNumber
-
-
Constructor Details
-
ImmutableLineNumber
public ImmutableLineNumber(int codeAddress, int lineNumber)
-
-
Method Details
-
of
-
getLineNumber
public int getLineNumber()Description copied from interface:LineNumberThe line number associated with this code address. This value should be treated as an unsigned integer, with negative values indicating a value > 2^31, using the usual two's complement semantics.- Specified by:
getLineNumberin interfaceLineNumber- Returns:
- The line number associated with this code address.
-
getDebugItemType
public int getDebugItemType()Description copied from interface:DebugItemThe type of this debug item. The returned integer will be one of the DebugItemType.* constants.- Specified by:
getDebugItemTypein interfaceDebugItem- Returns:
- The type of this debug item.
-