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
public class ImmutableLineNumber extends ImmutableDebugItem implements LineNumber
-
-
Field Summary
Fields Modifier and Type Field Description protected intlineNumber-
Fields inherited from class org.jf.dexlib2.immutable.debug.ImmutableDebugItem
codeAddress
-
-
Constructor Summary
Constructors Constructor Description ImmutableLineNumber(int codeAddress, int lineNumber)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDebugItemType()The type of this debug item.intgetLineNumber()The line number associated with this code address.static ImmutableLineNumberof(LineNumber lineNumber)-
Methods inherited from class org.jf.dexlib2.immutable.debug.ImmutableDebugItem
getCodeAddress, immutableListOf, of
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jf.dexlib2.iface.debug.DebugItem
getCodeAddress
-
-
-
-
Method Detail
-
of
@Nonnull public static ImmutableLineNumber of(@Nonnull LineNumber lineNumber)
-
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.
-
-